(svn r19488) -Codechange: Use last_error data for removal in CmdRailTrackHelper() as well.

This commit is contained in:
alberth 2010-03-20 17:08:16 +00:00
parent a9d4eb86b8
commit c9b0e9d25f

View File

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