diff Engine/SaveLoad.cpp @ 2563:65c97624c047

Saving & loading works from both main menu and game
author a.parshin
date Tue, 19 May 2015 22:00:56 +0200
parents ac16f4a3a91e
children 117c219bf913
line wrap: on
line diff
--- a/Engine/SaveLoad.cpp	Sun May 17 22:42:13 2015 +0600
+++ b/Engine/SaveLoad.cpp	Tue May 19 22:00:56 2015 +0200
@@ -179,11 +179,11 @@
     }
   }
 
-  if (pGUIWindow_CurrentMenu)
+  /*if (pGUIWindow_CurrentMenu)
   {
       pGUIWindow_CurrentMenu->Release();
       pGUIWindow_CurrentMenu = nullptr;
-  }
+  }*/
   current_screen_type = SCREEN_GAME;
 
   viewparams->bRedrawGameUI = true;