changeset 539 | ccf9518e6cfd |
parent 538 | 5dd99f3b7eca |
child 555 | eec6c0294435 |
--- a/ai.c Fri Dec 03 21:57:05 2004 +0000 +++ b/ai.c Sat Dec 04 00:34:20 2004 +0000 @@ -121,7 +121,7 @@ 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