diff GUI/UI/UIMainMenu.cpp @ 2552:ac16f4a3a91e

Load from MainMenu logic separated from MainMenu window
author a.parshin
date Wed, 13 May 2015 01:33:20 +0200
parents 4008b2f34be0
children f9bdfe26d03d
line wrap: on
line diff
--- a/GUI/UI/UIMainMenu.cpp	Tue May 12 12:03:30 2015 +0200
+++ b/GUI/UI/UIMainMenu.cpp	Wed May 13 01:33:20 2015 +0200
@@ -56,8 +56,8 @@
     POINT pt;
     pMouse->GetCursorPos(&pt);
     GUIWindow *pWindow = this;//pWindow_MainMenu;
-    if (GetCurrentMenuID() == MENU_SAVELOAD)
-        pWindow = pGUIWindow_CurrentMenu;
+    //if (GetCurrentMenuID() == MENU_SAVELOAD)
+    //    pWindow = pGUIWindow_CurrentMenu;
 
 
     if (GetCurrentMenuID() == MENU_MAIN)