@@ -517,13 +517,13 @@ static CommandCost ClearTile_Industry(Ti
if (flags & DC_EXEC) {
AI::BroadcastNewEvent(new ScriptEventIndustryClose(i->index));
Game::NewEvent(new ScriptEventIndustryClose(i->index));
delete i;
}
return CommandCost(EXPENSES_CONSTRUCTION, indspec->GetRemovalCost());
return CommandCost(EXPENSES_T_DEMOLITION, indspec->GetRemovalCost());
/**
* Move produced cargo from industry to nearby stations.
* @param tile Industry tile
* @return true if any cargo was moved.
@@ -2051,13 +2051,13 @@ CommandCost CmdBuildIndustry(DoCommandFl
if ((flags & DC_EXEC) && ind != nullptr && _game_mode != GM_EDITOR) {
AdvertiseIndustryOpening(ind);
return CommandCost(EXPENSES_OTHER, indspec->GetConstructionCost());
return CommandCost(EXPENSES_CONSTRUCTION, indspec->GetConstructionCost());
* Change industry properties
* @param flags Type of operation.
* @param ind_id IndustryID