From 44965ab7ab58a71cc7ecc237e37ab50ed1882c49 Mon Sep 17 00:00:00 2001 From: qndel Date: Sat, 30 Nov 2019 10:33:29 +0100 Subject: [PATCH] [hellfire] ObjChangeMapResync bin exact --- Source/objects.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Source/objects.cpp b/Source/objects.cpp index 2c2106182..690ceaa50 100644 --- a/Source/objects.cpp +++ b/Source/objects.cpp @@ -2420,8 +2420,11 @@ void ObjChangeMapResync(int x1, int y1, int x2, int y2) dungeon[i][j] = pdungeon[i][j]; } } +#ifdef HELLFIRE + if (leveltype == DTYPE_CATHEDRAL && currlevel < 17) { +#else if (leveltype == DTYPE_CATHEDRAL) { - ObjL1Special(2 * x1 + 16, 2 * y1 + 16, 2 * x2 + 17, 2 * y2 + 17); +#endif ObjL1Special(2 * x1 + 16, 2 * y1 + 16, 2 * x2 + 17, 2 * y2 + 17); } if (leveltype == DTYPE_CATACOMBS) { ObjL2Special(2 * x1 + 16, 2 * y1 + 16, 2 * x2 + 17, 2 * y2 + 17);