(svn r1544) -Fix: SwapOrder did not use AssignOrder, which caused the saveroutine to
crash from time to time -Codechange: added const before 'Order *' where possible
This commit is contained in:
@@ -1023,7 +1023,7 @@ static void HandleAircraftSmoke(Vehicle *v)
|
||||
|
||||
static void ProcessAircraftOrder(Vehicle *v)
|
||||
{
|
||||
Order *order;
|
||||
const Order *order;
|
||||
|
||||
// OT_GOTO_DEPOT, OT_LOADING
|
||||
if (v->current_order.type == OT_GOTO_DEPOT ||
|
||||
|
||||
Reference in New Issue
Block a user