Changeset - r26181:11f8fe314bee
[Not reviewed]
master
0 1 0
Tyler Trahan - 2 years ago 2022-02-22 21:09:13
tyler@tylertrahan.com
Fix e740c24: Use correct command flag, not just DC_EXEC
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/water_cmd.cpp
Show inline comments
 
@@ -1373,7 +1373,7 @@ static CommandCost TerraformTile_Water(T
 
	/* Canals can't be terraformed */
 
	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);
 
}
 

	
 

	
0 comments (0 inline, 0 general)