Another change that looks bigger than it is: changed out the global extern WResourceManager to a real singleton. This means that it's no longer being init'ed at static initialization time, and we can debug construction/destruction properly; it's also safer in a multithreaded context.
This commit is contained in:
@@ -640,7 +640,7 @@ void GameSettings::reloadProfile(bool images)
|
||||
SAFE_DELETE(profileOptions);
|
||||
checkProfile();
|
||||
if (images)
|
||||
resources.Refresh(); //Update images
|
||||
WResourceManager::Instance()->Refresh(); //Update images
|
||||
}
|
||||
|
||||
void GameSettings::checkProfile()
|
||||
|
||||
Reference in New Issue
Block a user