changeset 1789 | a0708f7418ae |
parent 1786 | a54634efeb98 |
child 1793 | 8ac8a8c9ec0f |
--- a/order_cmd.c Wed May 11 15:30:28 2005 +0000 +++ b/order_cmd.c Wed May 11 15:31:10 2005 +0000 @@ -522,7 +522,7 @@ 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;