comparison 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
comparison
equal deleted inserted replaced
2562:b8a56afc6ba1 2563:65c97624c047
177 } 177 }
178 } 178 }
179 } 179 }
180 } 180 }
181 181
182 if (pGUIWindow_CurrentMenu) 182 /*if (pGUIWindow_CurrentMenu)
183 { 183 {
184 pGUIWindow_CurrentMenu->Release(); 184 pGUIWindow_CurrentMenu->Release();
185 pGUIWindow_CurrentMenu = nullptr; 185 pGUIWindow_CurrentMenu = nullptr;
186 } 186 }*/
187 current_screen_type = SCREEN_GAME; 187 current_screen_type = SCREEN_GAME;
188 188
189 viewparams->bRedrawGameUI = true; 189 viewparams->bRedrawGameUI = true;
190 190
191 SetUserInterface(pParty->alignment, true); 191 SetUserInterface(pParty->alignment, true);