Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix filter not working in [disable] (#2826)
The problem was that the specials_context was not set during those two get_special_bool calls This removes what seems to be a rather useless optimisation in battle_context::battle_context since choose_attacker_weapon would just return 0 in that case. fixes #2801 (cherry-picked from commit c4cf0c9)
- Loading branch information
Showing
2 changed files
with
1 addition
and
9 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