@@ -58,12 +58,13 @@ Company::~Company()
free(this->president_name);
free(this->num_engines);
if (CleaningPool()) return;
DeleteCompanyWindows(this->index);
InvalidateWindowData(WC_GRAPH_LEGEND, 0, this->index);
}
/**
* Sets the local company and updates the settings that are set on a
* per-company basis to reflect the core's state in the GUI.
* @param new_company the new company