Errors on hovering over body part panel in character screen on saves converted from 0.G to 0.H
Describe the bug
Converting save from 0.G to 0.H results in two exceptions when you hover over body part panel in character screen:
DEBUG : Could not find equivalent bodypart id bp_null in Lyndon Bigelow's body
FUNCTION : get_part_id
FILE : D:\a\Cataclysm-DDA\Cataclysm-DDA\src\creature.cpp
LINE : 2240
VERSION : c6ba9a2
DEBUG : Could not find bodypart bp_null in Lyndon Bigelow's body
FUNCTION : get_part
FILE : D:\a\Cataclysm-DDA\Cataclysm-DDA\src\creature.cpp
LINE : 2168
VERSION : c6ba9a2
They repeat indefinitely if you skip them with space and you can only break out of of the loop by ignoring them with i.
Attach save file
Steps to reproduce
- Load attached save game.
- Open character screen and hover over body part panel.
Expected behavior
No errors upon hovering over body part panel.
Screenshots
No response
Versions and configuration
- OS: Windows
- OS Version: 10.0.19045.3570 (22H2)
- Game Version: c6ba9a2 [64-bit]
- Graphics Version: Tiles
- Game Language: English [en]
- Mods loaded: [ Dark Days Ahead [dda], Portal Storms Ignore NPCs [personal_portal_storms] ]
Additional context
No response
@CoroNaut if the thumbs up is meant to indicate "this is a real problem I'm experiencing as well" please instead post a comment to that effect so we can mark the issue as confirmed
Sorry, I mustve wanted to thumbs up another issue and this tab just so happened to be there. I haven't tested this issue at all.
The error occurs when hover mouse to this blank space.
It can be reproduced by creating a character, taking off the watch, and opening character info.
It does not occur in 0.G, but does not seem to be related with the save.
This occurs in both of 0.H rc and experimental (cdda-experimental-2024-09-16-0441).
- OS: Linux
- OS Version: Distributor ID: Debian; Description: Debian GNU/Linux 12 (bookworm); Release: 12; Codename: bookworm;
- Game Version: 675ea0d [64-bit]
- Graphics Version: Tiles
- Game Language: English <color_dark_gray>(100.0%) [en]
- Mods loaded: [ Dark Days Ahead [dda], Disable NPC Needs [no_npc_food], Portal Storms Ignore NPCs [personal_portal_storms], Slowdown Fungal Growth [no_fungal_growth] ]