forked from mirror/openmw-tes3mp
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);
|
const ESM::GameSetting *setting = environment.mWorld->getStore().gameSettings.search(id);
|
||||||
if (setting && setting->type == ESM::VT_String)
|
if (setting && setting->type == ESM::VT_String)
|
||||||
return setting->str;
|
return setting->str;
|
||||||
return default;
|
return default_;
|
||||||
}
|
}
|
||||||
|
|
||||||
void WindowManager::updateCharacterGeneration()
|
void WindowManager::updateCharacterGeneration()
|
||||||
|
|
|
@ -146,7 +146,7 @@ namespace MWGui
|
||||||
* @param id Identifier for the GMST setting, e.g. "aName"
|
* @param id Identifier for the GMST setting, e.g. "aName"
|
||||||
* @param default Default value if the GMST setting cannot be used.
|
* @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:
|
private:
|
||||||
void updateCharacterGeneration();
|
void updateCharacterGeneration();
|
||||||
|
|
Loading…
Reference in a new issue