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 0c06576..fb40606 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();