fixed bug with drawing to default door 2 area while in editor
authorHolger Schemel <info@artsoft.org>
Fri, 3 Nov 2017 13:06:34 +0000 (14:06 +0100)
committerHolger Schemel <info@artsoft.org>
Fri, 23 Mar 2018 22:21:15 +0000 (23:21 +0100)
src/editor.c

index 0c065762676cf00ea4414de701941997cda8b449..fb40606a0239b4ffb4973c3956a9fc7fe594d80a 100644 (file)
@@ -8277,7 +8277,7 @@ void DrawLevelEd()
   InitZoomLevelSettings(-1);
   InitLevelSetInfo();
 
-  OpenDoor(DOOR_OPEN_1 | DOOR_OPEN_2 | DOOR_NO_DELAY);
+  SetDoorState(DOOR_OPEN_1 | DOOR_OPEN_2);
 
 #if DEBUG
   CheckElementDescriptions();