added variable to store if request dialog is active or opening/closing
[rocksndiamonds.git] / src / tools.c
index 2157ef740c812d23b87ba6cb453781c2eec7b877..8a2d895a8d65d5778a2e0bc9310c141a070ef2af 100644 (file)
@@ -4804,6 +4804,8 @@ boolean Request(char *text, unsigned int req_state)
   boolean overlay_enabled = GetOverlayEnabled();
   boolean result;
 
+  game.request_active_or_moving = TRUE;
+
   SetOverlayEnabled(FALSE);
 
   if (global.use_envelope_request)
@@ -4813,6 +4815,8 @@ boolean Request(char *text, unsigned int req_state)
 
   SetOverlayEnabled(overlay_enabled);
 
+  game.request_active_or_moving = FALSE;
+
   return result;
 }