Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #2117: crash if either combatant was guaranteed to die
Regression from commit f6c4f3d. The code divided by zero and the probability to stay unscathed ended up as NaN, which triggered an assertion failure if the AI simulated one more fight for either combatant.
- Loading branch information