changeset 6502 | 8056fdc57aa9 |
parent 6501 | 7df55f74f00c |
child 6546 | 4c6d90bde803 |
--- a/src/aircraft_cmd.cpp Fri Apr 20 11:05:56 2007 +0000 +++ b/src/aircraft_cmd.cpp Fri Apr 20 11:39:01 2007 +0000 @@ -571,6 +571,8 @@ } if (flags & DC_EXEC) { + if (v->current_order.type == OT_LOADING) v->LeaveStation(); + v->current_order.type = OT_GOTO_DEPOT; v->current_order.flags = OF_NON_STOP; if (!(p2 & DEPOT_SERVICE)) SETBIT(v->current_order.flags, OFB_HALT_IN_DEPOT);