changeset 1214 | 33e07bbb7779 |
parent 1209 | a1ac96655b79 |
child 1221 | 2b159ebb4899 |
--- a/train_cmd.c Sat Jan 29 14:56:25 2005 +0000 +++ b/train_cmd.c Sat Jan 29 15:12:40 2005 +0000 @@ -2079,7 +2079,7 @@ /* Check if the vehicle is compatible with the specified tile */ static bool CheckCompatibleRail(const Vehicle *v, TileIndex tile) { - switch (TileType(tile)) { + switch (GetTileType(tile)) { case MP_RAILWAY: case MP_STATION: // normal tracks, jump to owner check