equal
deleted
inserted
replaced
2391 if (IsLevelCrossing(t)) { |
2391 if (IsLevelCrossing(t)) { |
2392 Owner o = GetTileOwner(t); |
2392 Owner o = GetTileOwner(t); |
2393 if (!GetPlayer(o)->is_active) { |
2393 if (!GetPlayer(o)->is_active) { |
2394 /* remove leftover rail piece from crossing (from very old savegames) */ |
2394 /* remove leftover rail piece from crossing (from very old savegames) */ |
2395 _current_player = o; |
2395 _current_player = o; |
2396 DoCommand(t, 0, AxisToTrack(OtherAxis(GetCrossingRoadAxis(t))), DC_EXEC | DC_BANKRUPT, CMD_REMOVE_SINGLE_RAIL); |
2396 DoCommand(t, 0, GetCrossingRailTrack(t), DC_EXEC | DC_BANKRUPT, CMD_REMOVE_SINGLE_RAIL); |
2397 } |
2397 } |
2398 } |
2398 } |
2399 } |
2399 } |
2400 } |
2400 } |
2401 |
2401 |