mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 19:19:56 +00:00
fixed compile problem (gcc related?)
This commit is contained in:
parent
8de9619579
commit
bd983717de
2 changed files with 3 additions and 3 deletions
|
@ -178,12 +178,12 @@ void WindowManager::messageBox (const std::string& message, const std::vector<st
|
|||
}
|
||||
}
|
||||
|
||||
const std::string &WindowManager::getGameSettingString(const std::string &id, const std::string &default)
|
||||
const std::string &WindowManager::getGameSettingString(const std::string &id, const std::string &default_)
|
||||
{
|
||||
const ESM::GameSetting *setting = environment.mWorld->getStore().gameSettings.search(id);
|
||||
if (setting && setting->type == ESM::VT_String)
|
||||
return setting->str;
|
||||
return default;
|
||||
return default_;
|
||||
}
|
||||
|
||||
void WindowManager::updateCharacterGeneration()
|
||||
|
|
|
@ -146,7 +146,7 @@ namespace MWGui
|
|||
* @param id Identifier for the GMST setting, e.g. "aName"
|
||||
* @param default Default value if the GMST setting cannot be used.
|
||||
*/
|
||||
const std::string &getGameSettingString(const std::string &id, const std::string &default);
|
||||
const std::string &getGameSettingString(const std::string &id, const std::string &default_);
|
||||
|
||||
private:
|
||||
void updateCharacterGeneration();
|
||||
|
|
Loading…
Reference in a new issue