From de3232a474c26729e871485268117fb48ad58101 Mon Sep 17 00:00:00 2001 From: gered Date: Wed, 6 Nov 2019 19:12:15 -0500 Subject: [PATCH] fix map editor not showing indicator for secret doors --- map_edit/m1.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/map_edit/m1.c b/map_edit/m1.c index 988d9cc..3bb6b15 100644 --- a/map_edit/m1.c +++ b/map_edit/m1.c @@ -877,7 +877,7 @@ for (row = 0; row < 9; row++) Draw2Dxline(x-5,y+5,mCode); if (mCode & WALL_TYPE_MULTI) DrawxLineMulti(x-5,y+5,(mCode ^ 15)-14); - if (mCode & (DOOR_TYPE_SLIDE+DOOR_TYPE_SPLIT)) + if (mCode & (DOOR_TYPE_SECRET+DOOR_TYPE_SLIDE+DOOR_TYPE_SPLIT)) DrawxLineMulti(x-5,y+5,255); } @@ -888,7 +888,7 @@ for (row = 0; row < 9; row++) Draw2Dxline(x+15,y+5,mCode); if (mCode & WALL_TYPE_MULTI) DrawxLineMulti(x+15,y+5,(mCode ^ 15)-14); - if (mCode & (DOOR_TYPE_SLIDE+DOOR_TYPE_SPLIT)) + if (mCode & (DOOR_TYPE_SECRET+DOOR_TYPE_SLIDE+DOOR_TYPE_SPLIT)) DrawxLineMulti(x+15,y+5,255); } @@ -899,7 +899,7 @@ for (row = 0; row < 9; row++) Draw2Dyline(x,y,mCode); if (mCode & WALL_TYPE_MULTI) DrawyLineMulti(x,y,(mCode ^ 15)-14); - if (mCode & (DOOR_TYPE_SLIDE+DOOR_TYPE_SPLIT)) + if (mCode & (DOOR_TYPE_SECRET+DOOR_TYPE_SLIDE+DOOR_TYPE_SPLIT)) DrawyLineMulti(x,y,255); } @@ -910,7 +910,7 @@ for (row = 0; row < 9; row++) Draw2Dyline(x,y+17,mCode); if (mCode & WALL_TYPE_MULTI) DrawyLineMulti(x,y+17,(mCode ^ 15)-14); - if (mCode & (DOOR_TYPE_SLIDE+DOOR_TYPE_SPLIT)) + if (mCode & (DOOR_TYPE_SECRET+DOOR_TYPE_SLIDE+DOOR_TYPE_SPLIT)) DrawyLineMulti(x,y+17,255); }