equal
deleted
inserted
replaced
2077 } |
2077 } |
2078 |
2078 |
2079 /* Check if the vehicle is compatible with the specified tile */ |
2079 /* Check if the vehicle is compatible with the specified tile */ |
2080 static bool CheckCompatibleRail(const Vehicle *v, TileIndex tile) |
2080 static bool CheckCompatibleRail(const Vehicle *v, TileIndex tile) |
2081 { |
2081 { |
2082 switch (TileType(tile)) { |
2082 switch (GetTileType(tile)) { |
2083 case MP_RAILWAY: |
2083 case MP_RAILWAY: |
2084 case MP_STATION: |
2084 case MP_STATION: |
2085 // normal tracks, jump to owner check |
2085 // normal tracks, jump to owner check |
2086 break; |
2086 break; |
2087 |
2087 |