forked from mirror/OpenTTD
(svn r923) Forgot s/rail_vehinfo/RailVehInfo/
This commit is contained in:
2
ai.c
2
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
|
||||
|
Reference in New Issue
Block a user