Codechange: move passwords in settings to std::string
This commit is contained in:
@@ -53,7 +53,7 @@ void LoadCheckData::Clear()
|
||||
|
||||
this->map_size_x = this->map_size_y = 256; // Default for old savegames which do not store mapsize.
|
||||
this->current_date = 0;
|
||||
memset(&this->settings, 0, sizeof(this->settings));
|
||||
this->settings = {};
|
||||
|
||||
for (auto &pair : this->companies) {
|
||||
delete pair.second;
|
||||
|
Reference in New Issue
Block a user