limb removing mutations causes errors on each turn
#64.474 aperta il 22 mar 2023
Metriche repository
- Star
- (9264 star)
- Metriche merge PR
- (Merge medio 6g 5h) (292 PR mergiate in 30 g)
Descrizione
Describe the bug
limb removing mutations like debug only head DEBUG _NO_TORSO causes error message for each limb after it mutates:
` DEBUG : Could not find bodypart arm_l in Roman Hansel's body
FUNCTION : get_part FILE : D:\a\Cataclysm-DDA\Cataclysm-DDA\src\creature.cpp LINE : 2001 VERSION : 1eca109 ` it continues with every other limb which is missing it repeats every turn, as it checks the limbs it trying to remove dont exist, yet removing them and causes errors ignoring error with i button stops the error messages, and character continues the game with only head without no problem
Attach save file
Steps to reproduce
enter debug mode mutation menu select limb removing mutation, such as debug no torso activate it
Expected behavior
after realising arms game trying to remove doesnt exist, it should stop trying to remove them or alternatively, mutations should not use enchantment that activates every turn
Screenshots
No response
Versions and configuration
- OS: Windows
- OS Version: 10.0.19044.2604 (21H2)
- Game Version: 1eca109 [64-bit]
- Graphics Version: Tiles
- Game Language: System language []
- Mods loaded: [ Dark Days Ahead [dda], Limb Test [limb_test] ]
Additional context
No response