fixed bug with drawing to default door 2 area while in editor
[rocksndiamonds.git] / src / editor.c
index 0c065762676cf00ea4414de701941997cda8b449..fb40606a0239b4ffb4973c3956a9fc7fe594d80a 100644 (file)
@@ -8277,7 +8277,7 @@ void DrawLevelEd()
   InitZoomLevelSettings(-1);
   InitLevelSetInfo();
 
   InitZoomLevelSettings(-1);
   InitLevelSetInfo();
 
-  OpenDoor(DOOR_OPEN_1 | DOOR_OPEN_2 | DOOR_NO_DELAY);
+  SetDoorState(DOOR_OPEN_1 | DOOR_OPEN_2);
 
 #if DEBUG
   CheckElementDescriptions();
 
 #if DEBUG
   CheckElementDescriptions();