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

Display correct item info for each item in V menu. #44665

Merged
merged 2 commits into from
Oct 8, 2020

Conversation

OzoneH3
Copy link
Member

@OzoneH3 OzoneH3 commented Oct 6, 2020

Summary

SUMMARY: Interface "Display correct item info for each item in V menu."

Purpose of change

Fixes #44594
Fixes #12228

Describe the solution

Save pointers to all items not just the first.

Testing

Spawn lighters with different charges.
Drop lighters.
Open V menu.
Cycle through lighters and see correct item_info/name for each

src/map_item_stack.h Outdated Show resolved Hide resolved
@I-am-Erk I-am-Erk added <Bugfix> This is a fix for a bug (or closes open issue) [C++] Changes (can be) made in C++. Previously named `Code` Controls / Input Keyboard, mouse, keybindings, input UI, etc. labels Oct 7, 2020
@ZhilkinSerg ZhilkinSerg merged commit 0c78f71 into CleverRaven:master Oct 8, 2020
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` Controls / Input Keyboard, mouse, keybindings, input UI, etc.
Projects
None yet
3 participants