changeset 9094 | 58d1cddf1af6 |
parent 9092 | 383a632de666 |
child 9097 | 97f403d00577 |
--- a/src/road_cmd.cpp Mon Feb 18 16:35:38 2008 +0000 +++ b/src/road_cmd.cpp Mon Feb 18 18:35:36 2008 +0000 @@ -1448,7 +1448,7 @@ if (IsLevelCrossing(tile)) { if (GetTileOwner(tile) == old_player) { if (new_player == PLAYER_SPECTATOR) { - DoCommand(tile, 0, AxisToTrack(OtherAxis(GetCrossingRoadAxis(tile))), DC_EXEC | DC_BANKRUPT, CMD_REMOVE_SINGLE_RAIL); + DoCommand(tile, 0, GetCrossingRailTrack(tile), DC_EXEC | DC_BANKRUPT, CMD_REMOVE_SINGLE_RAIL); } else { SetTileOwner(tile, new_player); }