diff --git a/Source/player.cpp b/Source/player.cpp index 2f54ce7b7..917ce8b4e 100644 --- a/Source/player.cpp +++ b/Source/player.cpp @@ -1134,9 +1134,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]]; }