Browse Source

correct IsTileWalkable to mark tiles out of bounds as not walkable

pull/6458/head
qndel 3 years ago committed by Anders Jenbo
parent
commit
b5ab3a10a2
  1. 2
      Source/engine/path.cpp

2
Source/engine/path.cpp

@ -340,7 +340,7 @@ bool IsTileWalkable(Point position, bool ignoreDoors)
}
}
return !IsTileSolid(position);
return IsTileNotSolid(position);
}
bool IsTileOccupied(Point position)

Loading…
Cancel
Save