Attempt to fix #647

I'm guessing the `nWalls < -1` is a typo, and it should have been `nWalls <= -1` all along. I decided to write `nWalls < 0` instead.

I don't know if I broke anything with this commit, but hopefully everything else still works as intended.
This commit is contained in:
Kevin Caccamo 2022-12-11 09:05:33 -05:00 committed by Christoph Oelckers
parent 64e53ffc7e
commit b1c0614d93

View file

@ -163,7 +163,7 @@ void feebtag(const DVector3& pos, sectortype* pSector, DExhumedActor **nSprite,
}
nWalls--;
if (nWalls < -1)
if (nWalls < 0)
return;
pSector = startwall->nextSector();