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

Fix inventory letter assignment getting cleared after trade #24420

Merged

Conversation

Qrox
Copy link
Contributor

@Qrox Qrox commented Jul 22, 2018

When trading with companions by talking to them, inventory letter assignment (the yellow ones) gets cleared. Fixed by copying assigned_invlet and invlet_cache to the new inventory.

@ZhilkinSerg ZhilkinSerg added NPC / Factions NPCs, AI, Speech, Factions, Ownership [C++] Changes (can be) made in C++. Previously named `Code` <Bugfix> This is a fix for a bug (or closes open issue) Controls / Input Keyboard, mouse, keybindings, input UI, etc. labels Jul 22, 2018
@ZhilkinSerg ZhilkinSerg self-assigned this Jul 22, 2018
@ZhilkinSerg ZhilkinSerg merged commit c762328 into CleverRaven:master Jul 22, 2018
@ZhilkinSerg ZhilkinSerg removed their assignment Jul 22, 2018
@Qrox Qrox deleted the fix-invlet-cleared-after-trading branch July 23, 2018 13:31
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. NPC / Factions NPCs, AI, Speech, Factions, Ownership
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants