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 dropping worn items from AIM #50452

Merged
merged 1 commit into from
Aug 4, 2021

Conversation

GoLoT
Copy link
Contributor

@GoLoT GoLoT commented Aug 3, 2021

Summary

None

Purpose of change

Fixes #50430
In #50381 I messed up the order in which actions are set and the drop action was never executed, basically preventing dropping worn/inventory items to the ground.

Describe the solution

Reverting #50381 and properly fixing the original problem by setting the exit flag for all if/else branches.

Describe alternatives you've considered

None.

Testing

Tried dropping various items. Regular items are dropped fine, NO_UNWIELD items aren't dropped and don't stack multiple AIM windows on top of each other.

Additional context

Always remember to test thoroughly.

@actual-nh actual-nh 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. Inventory / AIM / Zones Inventory, Advanced Inventory Management or Zones labels Aug 3, 2021
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. Inventory / AIM / Zones Inventory, Advanced Inventory Management or Zones
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Advanced inventory can't be used to move items from player inventory to ground.
5 participants