equal
deleted
inserted
replaced
3761 return; |
3761 return; |
3762 |
3762 |
3763 DoCommand(tile, 0, 0, DC_EXEC, CMD_LANDSCAPE_CLEAR); |
3763 DoCommand(tile, 0, 0, DC_EXEC, CMD_LANDSCAPE_CLEAR); |
3764 } |
3764 } |
3765 } else if (IsTileType(tile, MP_ROAD)) { |
3765 } else if (IsTileType(tile, MP_ROAD)) { |
3766 if (!IsTileOwner(tile, _current_player)) return; |
|
3767 |
|
3768 if (IsLevelCrossing(tile)) goto is_rail_crossing; |
3766 if (IsLevelCrossing(tile)) goto is_rail_crossing; |
3769 |
3767 |
3770 if (IsRoadDepot(tile)) { |
3768 if (IsRoadDepot(tile)) { |
|
3769 if (!IsTileOwner(tile, _current_player)) return; |
|
3770 |
3771 DiagDirection dir; |
3771 DiagDirection dir; |
3772 TileIndex t; |
3772 TileIndex t; |
3773 |
3773 |
3774 // Check if there are any stations around. |
3774 // Check if there are any stations around. |
3775 t = tile + TileDiffXY(-1, 0); |
3775 t = tile + TileDiffXY(-1, 0); |