Changeset - r1234:5ce95e7feae2
[Not reviewed]
master
0 1 0
celestar - 20 years ago 2005-01-30 18:40:52
celestar@openttd.org
(svn r1738) -Fix: [ 1108735 ] Fixed (hopefully) an assertion that was cause by selling carriages in a MP game faster than the network can handle. (Truelight)
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
train_cmd.c
Show inline comments
 
@@ -873,7 +873,7 @@ int32 CmdSellRailWagon(int x, int y, uin
 

	
 
	v = GetVehicle(p1);
 

	
 
	if (!CheckOwnership(v->owner))
 
	if (v->type == 0 || !CheckOwnership(v->owner))
 
		return CMD_ERROR;
 

	
 
	// get first vehicle in chain
0 comments (0 inline, 0 general)