File diff r26089:2283e9229bb0 → r26090:5a592dbf1c28
src/misc_gui.cpp
Show inline comments
 
@@ -191,7 +191,7 @@ public:
 
		Company *c = Company::GetIfValid(_local_company);
 
		if (c != nullptr) {
 
			assert(_current_company == _local_company);
 
			CommandCost costclear = DoCommand(tile, 0, 0, DC_QUERY_COST, CMD_LANDSCAPE_CLEAR);
 
			CommandCost costclear = DoCommand(DC_QUERY_COST, CMD_LANDSCAPE_CLEAR, tile, 0, 0);
 
			if (costclear.Succeeded()) {
 
				Money cost = costclear.GetCost();
 
				if (cost < 0) {