added variable to store if request dialog is active or opening/closing
[rocksndiamonds.git] / src / tools.c
index a042e88fe91f7c84bcb914da569720cd63036612..1cab72eab5a5ed9c8a0e853480fda53dc1cfec04 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;
 }