Closed Hypexion closed 1 year ago
Problem: Game crashes when a pathfinding NPC is standing on a platform and the room has pits. Solution: Only do the platform check when the NPC is directly next to a pit tile in CCharacter::DoesSquareContainObstacle
CCharacter::DoesSquareContainObstacle
Thread: https://forum.caravelgames.com/viewtopic.php?TopicID=45853 See also: https://forum.caravelgames.com/viewtopic.php?TopicID=40798&page=0#403645
Problem: Game crashes when a pathfinding NPC is standing on a platform and the room has pits. Solution: Only do the platform check when the NPC is directly next to a pit tile in
CCharacter::DoesSquareContainObstacle
Thread: https://forum.caravelgames.com/viewtopic.php?TopicID=45853 See also: https://forum.caravelgames.com/viewtopic.php?TopicID=40798&page=0#403645