summaryrefslogtreecommitdiff
path: root/ai.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2004-12-04 00:34:20 +0000
committertron <tron@openttd.org>2004-12-04 00:34:20 +0000
commitaa183e35d8f204f6f8a94a93226f7e700efc036e (patch)
tree8f5d141161a85ee31b6a3c2b2b0c3b77362845f3 /ai.c
parent56dd31f33bd40d08ec3453258c35af10e4638d6a (diff)
downloadopenttd-aa183e35d8f204f6f8a94a93226f7e700efc036e.tar.xz
(svn r923) Forgot s/rail_vehinfo/RailVehInfo/
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 61326518b..5dacdb8c9 100644
--- a/ai.c
+++ b/ai.c
@@ -121,7 +121,7 @@ static int AiChooseTrainToBuild(byte railtype, int32 money, byte flag)
int i;
for (i = 0; i < NUM_TRAIN_ENGINES; i++) {
- const RailVehicleInfo *rvi = rail_vehinfo(i);
+ const RailVehicleInfo *rvi = RailVehInfo(i);
Engine *e = DEREF_ENGINE(i);
if (e->railtype != railtype || rvi->flags & RVI_WAGON