cataclysmbnteam / Cataclysm-BN

Cataclysm: Bright Nights, A fork/variant of Cataclysm:DDA by CleverRaven.
https://docs.cataclysmbn.org
Other
704 stars 273 forks source link

Classic view shows incorrect body part for damage amounts. #5778

Open Treah opened 3 days ago

Treah commented 3 days ago

Describe the bug

Health display for body parts is jumbled up in classic view. Compact view shows them correctly.

Steps To Reproduce

  1. Create player with self aware.
  2. Use debug menu to hurt a body part.
  3. Change view from classic to compact and back and observe change.

Screenshots

Body_Classic Body_Compact

Versions and configuration

09:35:27.267 INFO : Cataclysm BN version 820a9a5 64-bit 09:35:27.267 INFO : C locale on startup: 'en_US.utf8' 09:35:27.267 INFO : C++ locale on startup: 'en_US.utf8' 09:35:27.268 INFO : Detected system UI language as 'en_US' 09:35:27.272 INFO : Set debug classes to: [DEBUGMSG MAIN LUA] 09:35:27.273 INFO : Language set to 'en_US' 09:35:27.273 INFO : C locale set to 'en_US.utf8' 09:35:27.273 INFO : C++ locale set to 'en_US.utf8' 09:35:27.586 INFO : LAPI version: 09:38:21.805 INFO : GAME REPORT:

Additional context

Note: The custom mod listed here does not affect anything related to the UI its simply some alternate recipes and spoil stuff.

Treah commented 3 days ago

Setting a branch before the below PR solves the issue and testing right after shows the incorrect views. So its something with this PR that broke the classic view. https://github.com/cataclysmbnteam/Cataclysm-BN/pull/5685

Ignaramico commented 3 days ago

does the real dmg/health get jumbled too D:?

Treah commented 3 days ago

does the real dmg/health get jumbled too D:?

No its just a visual bug as opening up the bandage menu shows the correct body part.