From 014393eb2226392b176343bc9dbc85d864bd9fcb Mon Sep 17 00:00:00 2001 From: qndel Date: Sat, 30 Nov 2019 10:05:08 +0100 Subject: [PATCH] [hellfire] Obj_Light bin exact --- Source/objects.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Source/objects.cpp b/Source/objects.cpp index f97ae5413..fe0494054 100644 --- a/Source/objects.cpp +++ b/Source/objects.cpp @@ -1477,13 +1477,18 @@ void AddObject(int ot, int ox, int oy) void Obj_Light(int i, int lr) { int ox, oy, dx, dy, p, tr; - BOOL turnon; + DIABOOL turnon; +#ifdef HELLFIRE + turnon = FALSE; +#endif if (object[i]._oVar1 != -1) { ox = object[i]._ox; oy = object[i]._oy; tr = lr + 10; +#ifndef HELLFIRE turnon = FALSE; +#endif if (!lightflag) { for (p = 0; p < MAX_PLRS && !turnon; p++) { if (plr[p].plractive) {