mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-28 15:41:13 -04:00
Issue #168: Configuration cleanup, part 2
Corrected return code. Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
This commit is contained in:
parent
d62fd96cd5
commit
0b1d6d4330
@ -56,7 +56,7 @@ bool OgreRenderer::configure(bool showConfig,
|
||||
// showConfig parameter is specified. The settings are stored in
|
||||
// ogre.cfg. If showConfig is false, the settings are assumed to
|
||||
// already exist in ogre.cfg.
|
||||
return (showConfig) ? mRoot->showConfigDialog() : mRoot->restoreConfig();
|
||||
return (showConfig) ? !mRoot->showConfigDialog() : !mRoot->restoreConfig();
|
||||
}
|
||||
|
||||
bool OgreRenderer::configure(bool showConfig,
|
||||
|
Loading…
x
Reference in New Issue
Block a user