mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-07-28 23:11:28 +01:00
(svn r19488) -Codechange: Use last_error data for removal in CmdRailTrackHelper() as well.
This commit is contained in:
parent
a9d4eb86b8
commit
c9b0e9d25f
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user