From: Holger Schemel Date: Wed, 8 Oct 2014 09:42:01 +0000 (+0200) Subject: finally fixed small door request bug in level editor X-Git-Tag: 4.0.0.0-rc1~338 X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=commitdiff_plain;h=3710f4581f3714ea9ecff02f9673296163406727 finally fixed small door request bug in level editor --- diff --git a/src/editor.c b/src/editor.c index a66e9604..e8bc4e20 100644 --- a/src/editor.c +++ b/src/editor.c @@ -11869,7 +11869,10 @@ void RequestExitLevelEditor(boolean ask_if_level_has_changed, } else { - CloseDoor(DOOR_CLOSE_1); - OpenDoor(DOOR_OPEN_1 | DOOR_COPY_BACK); + if (!global.use_envelope_request) + { + CloseDoor(DOOR_CLOSE_1); + OpenDoor(DOOR_OPEN_1 | DOOR_COPY_BACK); + } } }