1
0
Fork 0

(svn r14210) -Codechange: remove a useless check when creating new waypoint

release/0.7
smatz 2008-08-31 21:30:36 +00:00
parent 7fa98e33ce
commit b51bb8c221
1 changed files with 0 additions and 1 deletions

View File

@ -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;