[Issue Report]: Crash Spending Stat Points During Death Animation
Operating System
Windows x64
DevilutionX version
1.5.5
Describe
If you spend stat points while the death animation plays, the game crashes. The details in To Reproduce are how I know you can trigger it, not sure if all death situations allow you to spend stat points or not.
To Reproduce
- Learn Firewall.
- Gain a level so you have stat points to distribute.
- Cast Firewall.
- Walk into your Firewall.
- When your Life hits 0, spend a stat point in any stat.
Expected Behavior
Game should not crash.
Additional context
This is a Vanilla bug, but Vanilla 1.09 has a different outcome. If you do the steps above and spend in Strength, Dexterity, or Magic the animation of the character resets to the standing animation and you get the red death screen with your character standing. If you spend the stat point in Vitality, you have greater than 0 life, but the red death screen will activate and your sprite disappears entirely.
No DevX screenshots since it crashes, but here are 1.09 screenshots:
Result if you spend the stat point(s) in Vitality
Result if you spend the stat point(s) in any other stat: