Browse Source

Add vanilla trap bugfix

pull/4049/head
galaxyhaxz 4 years ago committed by Anders Jenbo
parent
commit
13175df53d
  1. 2
      Source/objects.cpp

2
Source/objects.cpp

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

Loading…
Cancel
Save