equal
deleted
inserted
replaced
2812 |
2812 |
2813 /* Check if the vehicle is compatible with the specified tile */ |
2813 /* Check if the vehicle is compatible with the specified tile */ |
2814 static bool CheckCompatibleRail(const Vehicle *v, TileIndex tile) |
2814 static bool CheckCompatibleRail(const Vehicle *v, TileIndex tile) |
2815 { |
2815 { |
2816 switch (GetTileType(tile)) { |
2816 switch (GetTileType(tile)) { |
|
2817 case MP_RAILWAY_BRIDGE: |
2817 case MP_RAILWAY: |
2818 case MP_RAILWAY: |
2818 case MP_STATION: |
2819 case MP_STATION: |
2819 // normal tracks, jump to owner check |
2820 // normal tracks, jump to owner check |
2820 break; |
2821 break; |
2821 |
2822 |