Add vanilla trap bugfix
This commit is contained in:
parent
90fbf1c535
commit
13175df53d
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue