Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct the display of skinned human corpses. #30116

Merged
merged 1 commit into from
Apr 30, 2019

Conversation

esotericist
Copy link
Contributor

Summary

SUMMARY: Bugfixes "Correct the display of skinned human corpses."

Purpose of change

Skinned human corpses were being passed to string_format with an incomplete argument list, resulting in text errors. This impacted any UI element where the corpse item name would be displayed.

Describe the solution

Pass the expected arguments to string_format

Describe alternatives you've considered

The whole block of code for selecting the strings for how to display corpses (skinned or otherwise) is pretty clunky, so it could probably be refactored, but being honest I wanted out of that thoughtspace as quickly as I could escape.

Additional context

Erroneous text:
image

Corrected text:
image

@mlangsdorf mlangsdorf added <Bugfix> This is a fix for a bug (or closes open issue) [C++] Changes (can be) made in C++. Previously named `Code` Info / User Interface Game - player communication, menus, etc. labels Apr 30, 2019
@ZhilkinSerg ZhilkinSerg merged commit 289c31a into CleverRaven:master Apr 30, 2019
@esotericist esotericist deleted the skinned-corpse-name-fix branch August 3, 2019 02:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
<Bugfix> This is a fix for a bug (or closes open issue) [C++] Changes (can be) made in C++. Previously named `Code` Info / User Interface Game - player communication, menus, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants