Add vanilla trap bugfix

This commit is contained in:
galaxyhaxz 2022-02-09 12:36:10 -06:00 committed by Anders Jenbo
commit 13175df53d

View file

@ -308,6 +308,8 @@ bool RndLocOk(int xp, int yp)
bool CanPlaceWallTrap(int xp, int yp)
{
if (dObject[xp][yp] != 0)
return false;
if (TileContainsSetPiece({ xp, yp }))
return false;