Fix RestoreDef crash

This commit is contained in:
erorcun 2020-11-11 13:08:22 +03:00
parent 546ed0ff07
commit 67e57d1368
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ void RestoreDefGraphics(int8 action) {
FrontEndMenuManager.m_nPrefsMSAALevel = FrontEndMenuManager.m_nDisplayMSAALevel = 0;
#endif
#ifdef NO_ISLAND_LOADING
if (FrontEndMenuManager.m_bGameNotLoaded) {
if (!FrontEndMenuManager.m_bGameNotLoaded) {
FrontEndMenuManager.m_PrefsIslandLoading = FrontEndMenuManager.ISLAND_LOADING_LOW;
CCollision::bAlreadyLoaded = false;
CModelInfo::RemoveColModelsFromOtherLevels(CGame::currLevel);