From 930511fb79bea90b9e35d6da6b4e5c05e667cdcb Mon Sep 17 00:00:00 2001 From: qndel Date: Sat, 30 Nov 2019 10:37:16 +0100 Subject: [PATCH] [hellfire] ObjChangeMap bin exact --- Source/objects.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/objects.cpp b/Source/objects.cpp index 6ba2e8942..2c2106182 100644 --- a/Source/objects.cpp +++ b/Source/objects.cpp @@ -2396,7 +2396,11 @@ void ObjChangeMap(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) { +#endif ObjL1Special(2 * x1 + 16, 2 * y1 + 16, 2 * x2 + 17, 2 * y2 + 17); AddL1Objs(2 * x1 + 16, 2 * y1 + 16, 2 * x2 + 17, 2 * y2 + 17); }