summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/train_cmd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/train_cmd.c b/src/train_cmd.c
index c1c5746bb..074d92ce7 100644
--- a/src/train_cmd.c
+++ b/src/train_cmd.c
@@ -2814,6 +2814,7 @@ static int GetDirectionToVehicle(const Vehicle *v, int x, int y)
static bool CheckCompatibleRail(const Vehicle *v, TileIndex tile)
{
switch (GetTileType(tile)) {
+ case MP_TUNNELBRIDGE:
case MP_RAILWAY:
case MP_STATION:
// normal tracks, jump to owner check