(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:
truelight
2005-01-16 14:42:53 +00:00
parent be5a832db3
commit 8e404a26f6
5 changed files with 8 additions and 6 deletions

View File

@@ -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 ||