forked from mirror/OpenTTD
(svn r19488) -Codechange: Use last_error data for removal in CmdRailTrackHelper() as well.
This commit is contained in:
@@ -789,7 +789,6 @@ static CommandCost CmdRailTrackHelper(TileIndex tile, DoCommandFlag flags, uint3
|
||||
}
|
||||
|
||||
if (had_success) return total_cost;
|
||||
if (remove) return CMD_ERROR;
|
||||
return last_error;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user