diff options
Diffstat (limited to 'src/waypoint.cpp')
-rw-r--r-- | src/waypoint.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/waypoint.cpp b/src/waypoint.cpp index d0b783eae..0916a887f 100644 --- a/src/waypoint.cpp +++ b/src/waypoint.cpp @@ -226,7 +226,6 @@ CommandCost CmdBuildTrainWaypoint(TileIndex tile, uint32 flags, uint32 p1, uint3 if (flags & DC_EXEC) { if (wp == NULL) { wp = new Waypoint(tile); - if (wp == NULL) return CMD_ERROR; wp->town_index = INVALID_TOWN; wp->name = NULL; |