-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The npc_can_target_player test was sometimes failing due to the hostile NPC choosing to target another NPC instead of the player. This, in turn, was caused by the clearing of NPCs not being done properly. They were unloaded, but then loaded again, and not all were killed. Write a new clear_npcs in map_helpers.h which works more reliably, and call that instead.
- Loading branch information
1 parent
1c62c69
commit 8533048
Showing
3 changed files
with
29 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters