diff options
Diffstat (limited to 'src/clear_cmd.cpp')
-rw-r--r-- | src/clear_cmd.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/clear_cmd.cpp b/src/clear_cmd.cpp index 9892fe0b1..1f1a7a50c 100644 --- a/src/clear_cmd.cpp +++ b/src/clear_cmd.cpp @@ -20,7 +20,7 @@ #include "table/sprites.h" #include "table/clear_land.h" -static CommandCost ClearTile_Clear(TileIndex tile, byte flags) +static CommandCost ClearTile_Clear(TileIndex tile, DoCommandFlag flags) { static const Money *clear_price_table[] = { &_price.clear_grass, @@ -357,7 +357,7 @@ void InitializeClearLand() _settings_game.game_creation.snow_line = _settings_game.game_creation.snow_line_height * TILE_HEIGHT; } -static CommandCost TerraformTile_Clear(TileIndex tile, uint32 flags, uint z_new, Slope tileh_new) +static CommandCost TerraformTile_Clear(TileIndex tile, DoCommandFlag flags, uint z_new, Slope tileh_new) { return DoCommand(tile, 0, 0, flags, CMD_LANDSCAPE_CLEAR); } |