Fix bridge/tunnel exit PBS signals never being set to green.

This commit is contained in:
Jonathan G Rennison
2017-03-31 22:41:52 +01:00
parent e1ee952b85
commit ab595bf67c

View File

@@ -3267,6 +3267,7 @@ static bool CheckTrainStayInWormHolePathReserve(Train *t, TileIndex tile)
} }
bool ok = TryPathReserve(t); bool ok = TryPathReserve(t);
t->tile = veh_orig; t->tile = veh_orig;
if (ok && IsTunnelBridgePBS(tile)) SetTunnelBridgeSignalState(tile, SIGNAL_STATE_GREEN);
return ok; return ok;
} }