1
0
Fork 0

Fix e740c24: Use correct command flag, not just DC_EXEC

pull/9828/head
Tyler Trahan 2022-02-22 14:09:13 -07:00 committed by Michael Lutz
parent 22f6502b14
commit 89dba56782
1 changed files with 1 additions and 1 deletions

View File

@ -1373,7 +1373,7 @@ static CommandCost TerraformTile_Water(TileIndex tile, DoCommandFlag flags, int
/* Canals can't be terraformed */ /* Canals can't be terraformed */
if (IsWaterTile(tile) && IsCanal(tile)) return_cmd_error(STR_ERROR_MUST_DEMOLISH_CANAL_FIRST); if (IsWaterTile(tile) && IsCanal(tile)) return_cmd_error(STR_ERROR_MUST_DEMOLISH_CANAL_FIRST);
return Command<CMD_LANDSCAPE_CLEAR>::Do(DC_EXEC, tile); return Command<CMD_LANDSCAPE_CLEAR>::Do(flags, tile);
} }