Changeset - r1789:2b22ae28c0a9
[Not reviewed]
master
0 1 0
Darkvater - 19 years ago 2005-05-11 15:31:10
darkvater@openttd.org
(svn r2293) - Fix (regression): You couldn't modify commands anymore; fixed. (|| and && are kinda confusing with !=) :P
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
order_cmd.c
Show inline comments
 
@@ -522,7 +522,7 @@ int32 CmdModifyOrder(int x, int y, uint3
 
	VehicleID veh = p1 & 0xFFFF;
 

	
 
	if (!IsVehicleIndex(veh)) return CMD_ERROR;
 
	if (p2 != OFB_FULL_LOAD || p2 != OFB_UNLOAD || p2 != OFB_NON_STOP) return CMD_ERROR;
 
	if (p2 != OFB_FULL_LOAD && p2 != OFB_UNLOAD && p2 != OFB_NON_STOP) return CMD_ERROR;
 

	
 
	v = GetVehicle(veh);
 
	if (v->type == 0 || !CheckOwnership(v->owner)) return CMD_ERROR;
0 comments (0 inline, 0 general)