diff options
Diffstat (limited to 'clear_cmd.c')
-rw-r--r-- | clear_cmd.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/clear_cmd.c b/clear_cmd.c index 6223c9a3d..17ad83849 100644 --- a/clear_cmd.c +++ b/clear_cmd.c @@ -167,13 +167,12 @@ static bool TerraformTileHeight(TerraformerState *ts, TileIndex tile, int height ts->modheight_count++; break; } - if (mod->tile == (TileIndex)tile) - break; + if (mod->tile == tile) break; mod++; count--; } - mod->tile = (TileIndex)tile; + mod->tile = tile; mod->height = (byte)height; ts->cost += _price.terraform; |