projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added variable to store if request dialog is active or opening/closing
[rocksndiamonds.git]
/
src
/
tools.c
diff --git
a/src/tools.c
b/src/tools.c
index 2157ef740c812d23b87ba6cb453781c2eec7b877..8a2d895a8d65d5778a2e0bc9310c141a070ef2af 100644
(file)
--- a/
src/tools.c
+++ b/
src/tools.c
@@
-4804,6
+4804,8
@@
boolean Request(char *text, unsigned int req_state)
boolean overlay_enabled = GetOverlayEnabled();
boolean result;
boolean overlay_enabled = GetOverlayEnabled();
boolean result;
+ game.request_active_or_moving = TRUE;
+
SetOverlayEnabled(FALSE);
if (global.use_envelope_request)
SetOverlayEnabled(FALSE);
if (global.use_envelope_request)
@@
-4813,6
+4815,8
@@
boolean Request(char *text, unsigned int req_state)
SetOverlayEnabled(overlay_enabled);
SetOverlayEnabled(overlay_enabled);
+ game.request_active_or_moving = FALSE;
+
return result;
}
return result;
}