diff Engine/Engine.cpp @ 2554:f2a8ed07e921

Game Main Menu separated from Game logic
author a.parshin
date Wed, 13 May 2015 11:31:58 +0200
parents 48708da03b7f
children 67d837007a4c
line wrap: on
line diff
--- a/Engine/Engine.cpp	Wed May 13 02:20:05 2015 +0200
+++ b/Engine/Engine.cpp	Wed May 13 11:31:58 2015 +0200
@@ -2445,7 +2445,7 @@
 
     if (pGUIWindow_ScrollWindow)
         free_book_subwindow();
-    if (!current_screen_type && !pGUIWindow_Settings)
+    if (!current_screen_type && !pGUIWindow_CastTargetedSpell)
         pEventTimer->Resume();
     viewparams->bRedrawGameUI = 1;
 }