diff options
author | truelight <truelight@openttd.org> | 2005-01-16 14:42:53 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2005-01-16 14:42:53 +0000 |
commit | 8e404a26f65b8851b3dcf067fddf62f188005ee9 (patch) | |
tree | 6a56912dfd4ec0a7d3c46aa7b8cd50edb2d28031 /ai.c | |
parent | be5a832db39429d405f108170811f7695f1ee206 (diff) | |
download | openttd-8e404a26f65b8851b3dcf067fddf62f188005ee9.tar.xz |
(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
Diffstat (limited to 'ai.c')
-rw-r--r-- | ai.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3609,7 +3609,7 @@ static void AiStateRemoveStation(Player *p) { // Remove stations that aren't in use by any vehicle byte in_use[256], *used; - Order *ord; + const Order *ord; Station *st; uint tile; |