Codechange: Use unique_ptr for fios company properties.
This is the data used to show company names in the saveload window.
This commit is contained in:
@@ -55,9 +55,6 @@ void LoadCheckData::Clear()
|
||||
this->current_date = 0;
|
||||
this->settings = {};
|
||||
|
||||
for (auto &pair : this->companies) {
|
||||
delete pair.second;
|
||||
}
|
||||
companies.clear();
|
||||
|
||||
this->gamelog.Reset();
|
||||
|
Reference in New Issue
Block a user