Jeck - Fix for issue 580. StyleManager initialization was causing an infinite loop. Also started documentation for OptionItem.
This commit is contained in:
@@ -490,8 +490,10 @@ GameSettings::GameSettings()
|
||||
|
||||
WStyle * GameSettings::getStyle()
|
||||
{
|
||||
if (!styleMan)
|
||||
styleMan = new StyleManager();
|
||||
if (!styleMan){
|
||||
styleMan = new StyleManager();
|
||||
styleMan->determineActive(NULL,NULL);
|
||||
}
|
||||
return styleMan->get();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user