(svn r23100) -Codechange: remove pointless multiplications by TILE_HEIGHT for the terraform code
This commit is contained in:
@@ -338,7 +338,7 @@ CommandCost CmdTerraformLand(TileIndex tile, DoCommandFlag flags, uint32 p1, uin
|
||||
if (indirectly_cleared) {
|
||||
cost = DoCommand(tile, 0, 0, tile_flags, CMD_LANDSCAPE_CLEAR);
|
||||
} else {
|
||||
cost = _tile_type_procs[GetTileType(tile)]->terraform_tile_proc(tile, tile_flags, z_min * TILE_HEIGHT, tileh);
|
||||
cost = _tile_type_procs[GetTileType(tile)]->terraform_tile_proc(tile, tile_flags, z_min, tileh);
|
||||
}
|
||||
_generating_world = curr_gen;
|
||||
if (cost.Failed()) {
|
||||
|
Reference in New Issue
Block a user