summaryrefslogtreecommitdiff
path: root/ai.c
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2005-01-16 14:42:53 +0000
committertruelight <truelight@openttd.org>2005-01-16 14:42:53 +0000
commit8e404a26f65b8851b3dcf067fddf62f188005ee9 (patch)
tree6a56912dfd4ec0a7d3c46aa7b8cd50edb2d28031 /ai.c
parentbe5a832db39429d405f108170811f7695f1ee206 (diff)
downloadopenttd-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ai.c b/ai.c
index 8ae388dc4..6881d7e2a 100644
--- a/ai.c
+++ b/ai.c
@@ -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;