From: Holger Schemel Date: Mon, 18 Dec 2023 10:41:35 +0000 (+0100) Subject: fixed bug with closing doors when exiting from level editor X-Git-Tag: 4.3.8.1~1 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=e29c8fb313787ad2a768de58c5852d3ba29d43d5;p=rocksndiamonds.git fixed bug with closing doors when exiting from level editor --- diff --git a/src/editor.c b/src/editor.c index 177336f7..671ac61d 100644 --- a/src/editor.c +++ b/src/editor.c @@ -15283,7 +15283,7 @@ void RequestExitLevelEditor(boolean ask_if_level_has_changed, vp_door_2->height == VYSIZE) CloseDoor(DOOR_CLOSE_ALL | DOOR_NO_DELAY); else - SetDoorState(DOOR_CLOSE_2); + SetDoorState(DOOR_CLOSE_ALL); BackToFront();