Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix undefined behavior in recalc_hp (#36470)
This is triggered during character creation. src/character.cpp:1114:66: runtime error: division by zero SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior src/character.cpp:1114:66 in src/character.cpp:1116:21: runtime error: -nan is outside the range of representable values of type 'int' SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior src/character.cpp:1116:21 in
- Loading branch information