Closed l29ah closed 2 weeks ago
Bisecting tells https://github.com/CleverRaven/Cataclysm-DDA/pull/74341 is the culprit. @db48x please fix it.
I can’t reproduce it. What other conditions are necessary?
Those are all i'm aware. There's also a similar bug with achievements: https://github.com/CleverRaven/Cataclysm-DDA/issues/72973
Did a little debugging. The array of colors is 16 items long (as apparently defined by static constexpr size_t COLOR_NAMES_COUNT = 16;
), the requested color is {attribute_value = 18432, index = 72}
that is parent.disabled_color
(c_dark_gray
).
Hope that helps.
Oh, you’re not running a tiles build. Let me try again.
Ahem. I’m not the culprit; it was a mine laid down by prior developers that @katemonster33 stepped on :)
Not hard to fix though.
Fixed as of 7c664e153aaaad0d8cd3cd457188e9eeb59d19f5
Describe the bug
Attach save file
2024.08.21.zip
Steps to reproduce
-D_GLIBCXX_ASSERTIONS
as you always shouldExpected behavior
No UB.
Screenshots
No response
Versions and configuration
Additional context
No response