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

inv_ui: fix wield/wear dereference #62317

Merged
merged 1 commit into from
Nov 21, 2022
Merged

Conversation

andrei8l
Copy link
Contributor

Summary

None

Purpose of change

A bad dereference exposed by #62226 leads to crashes when trying to wield or wear items
Fixes: #62314

Describe the solution

Fixy

Describe alternatives you've considered

Not fixy

Testing

Spawn a fridge and try to wield it from the pick up menu
Get naked, spawn a pair of fuzzy cat ears, and try to wear them from the pick up menu

Additional context

N/A

@github-actions github-actions bot added [C++] Changes (can be) made in C++. Previously named `Code` Info / User Interface Game - player communication, menus, etc. json-styled JSON lint passed, label assigned by github actions astyled astyled PR, label is assigned by github actions BasicBuildPassed This PR builds correctly, label assigned by github actions labels Nov 21, 2022
@dseguin dseguin merged commit e81a005 into CleverRaven:master Nov 21, 2022
@andrei8l andrei8l deleted the inv_ui-deref branch November 21, 2022 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
astyled astyled PR, label is assigned by github actions BasicBuildPassed This PR builds correctly, label assigned by github actions [C++] Changes (can be) made in C++. Previously named `Code` Info / User Interface Game - player communication, menus, etc. json-styled JSON lint passed, label assigned by github actions
Projects
None yet
2 participants