diff Engine/Engine.cpp @ 2564:f9bdfe26d03d

.
author a.parshin
date Wed, 20 May 2015 00:56:07 +0200
parents 65c97624c047
children 117c219bf913
line wrap: on
line diff
--- a/Engine/Engine.cpp	Tue May 19 22:00:56 2015 +0200
+++ b/Engine/Engine.cpp	Wed May 20 00:56:07 2015 +0200
@@ -1796,13 +1796,15 @@
 
     SetUserInterface(PartyAlignment_Neutral, false);
 
+    for (uint i = 0; i < 20; ++i)
+        pWindowList[i] = nullptr;
+    uNumVisibleWindows = -1;
+    memset(pVisibleWindowsIdxs.data(), 0, sizeof(pVisibleWindowsIdxs));
+
     ShowLogoVideo();
     //ShowIntroVideo_and_LoadingScreen();
     WriteWindowsRegistryInt("Ran once", 1);
     dword_6BE364_game_settings_1 |= GAME_SETTINGS_4000;
-    SecondaryInitialization();
-    //pRenderer->SetRasterClipRect(0, 0, window->GetWidth() - 1, window->GetHeight() - 1);
-    FinalInitialization();
 
     //Ritor1: include
     if (use_MMT)