X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Ftools.c;h=2ff2a6e3a7450e00293d90a81ee25308167fa84a;hp=6522b8e741382bc55352fb961f2e4fc5149fdd03;hb=05f79aac9452f5666ee6dc712637adc1d9ae6b7a;hpb=64f0d273ab910b98d1c929bad3146aeccfd6468a diff --git a/src/tools.c b/src/tools.c index 6522b8e7..2ff2a6e3 100644 --- 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 overlay_active = GetOverlayActive(); + boolean overlay_enabled = GetOverlayEnabled(); boolean result; - SetOverlayActive(FALSE); + SetOverlayEnabled(FALSE); if (global.use_envelope_request) result = RequestEnvelope(text, req_state); else result = RequestDoor(text, req_state); - SetOverlayActive(overlay_active); + SetOverlayEnabled(overlay_enabled); return result; }