diff --git a/source/games/exhumed/src/player.cpp b/source/games/exhumed/src/player.cpp index a978b7389..c578949f8 100644 --- a/source/games/exhumed/src/player.cpp +++ b/source/games/exhumed/src/player.cpp @@ -163,7 +163,7 @@ void feebtag(const DVector3& pos, sectortype* pSector, DExhumedActor **nSprite, } nWalls--; - if (nWalls < -1) + if (nWalls < 0) return; pSector = startwall->nextSector();