(svn r5618) Remove a redundant check, CheckTrackCombination() a few lines above performs the same test
--- a/rail_cmd.c Wed Jul 26 10:50:46 2006 +0000
+++ b/rail_cmd.c Wed Jul 26 12:11:52 2006 +0000
@@ -259,8 +259,7 @@
!EnsureNoVehicle(tile)) {
return CMD_ERROR;
}
- if (GetRailTileType(tile) == RAIL_TILE_DEPOT_WAYPOINT ||
- !IsTileOwner(tile, _current_player) ||
+ if (!IsTileOwner(tile, _current_player) ||
GetRailType(tile) != p1) {
// Get detailed error message
return DoCommand(tile, 0, 0, flags, CMD_LANDSCAPE_CLEAR);