(svn r923) Forgot s/rail_vehinfo/RailVehInfo/

This commit is contained in:
tron
2004-12-04 00:34:20 +00:00
parent 56dd31f33b
commit aa183e35d8
3 changed files with 4 additions and 4 deletions

2
ai.c
View File

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