Please sign in to comment.
Fix rare crash in AI code
Reported in https://forums.wesnoth.org/viewtopic.php?p=626344#p626344 Regression from commit a3d5b9d. The crash occurred when * the attacker had only one weapon * the said weapon was disabled, and - the defender had no weapons - the defender had only one weapon, or - all defender's weapons were disabled
- Loading branch information...