projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed bug with CE actions "show envelope" and "exit player" when moving
[rocksndiamonds.git]
/
src
/
tools.c
diff --git
a/src/tools.c
b/src/tools.c
index 6522b8e741382bc55352fb961f2e4fc5149fdd03..2ff2a6e3a7450e00293d90a81ee25308167fa84a 100644
(file)
--- a/
src/tools.c
+++ b/
src/tools.c
@@
-4811,17
+4811,17
@@
static boolean RequestEnvelope(char *text, unsigned int req_state)
boolean Request(char *text, unsigned int req_state)
{
boolean Request(char *text, unsigned int req_state)
{
- boolean overlay_
active = GetOverlayActive
();
+ boolean overlay_
enabled = GetOverlayEnabled
();
boolean result;
boolean result;
- SetOverlay
Active
(FALSE);
+ SetOverlay
Enabled
(FALSE);
if (global.use_envelope_request)
result = RequestEnvelope(text, req_state);
else
result = RequestDoor(text, req_state);
if (global.use_envelope_request)
result = RequestEnvelope(text, req_state);
else
result = RequestDoor(text, req_state);
- SetOverlay
Active(overlay_active
);
+ SetOverlay
Enabled(overlay_enabled
);
return result;
}
return result;
}