From 4051525550819cd3221b18382189ecf8eb580f3f Mon Sep 17 00:00:00 2001 From: Anders Jenbo Date: Wed, 4 Sep 2019 21:10:11 +0200 Subject: [PATCH] [hellfire] SolidLoc --- Source/player.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/player.cpp b/Source/player.cpp index 0269d363a..b8057a79a 100644 --- a/Source/player.cpp +++ b/Source/player.cpp @@ -1048,9 +1048,11 @@ void CheckEFlag(int pnum, BOOL flag) BOOL SolidLoc(int x, int y) { +#ifndef HELLFIRE if (x < 0 || y < 0 || x >= MAXDUNX || y >= MAXDUNY) { return FALSE; } +#endif return nSolidTable[dPiece[x][y]]; }