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 wielded count-by-charges items causing errors #3628

Merged
merged 2 commits into from
Nov 11, 2023

Conversation

joveeater
Copy link
Collaborator

@joveeater joveeater commented Nov 11, 2023

Summary

SUMMARY: Bugfixes "Fixed error dropping wielded count-by-charges items"

Purpose of change

Fixes #3606.

Describe the solution

Removed character::i_rem(item*). This function is a bit awkward and slow, doesn't work right with cbc items and can be easily replaced with item->detach().

@github-actions github-actions bot added src changes related to source code. tests changes related to tests labels Nov 11, 2023
@scarf005 scarf005 changed the title Fix: Dropping wielded cbc items causes errors fix: Dropping wielded cbc items causes errors Nov 11, 2023
@scarf005 scarf005 changed the title fix: Dropping wielded cbc items causes errors fix: Dropping wielded count-by-charges items causes errors Nov 11, 2023
@scarf005 scarf005 changed the title fix: Dropping wielded count-by-charges items causes errors fix: Dropping wielded count-by-charges items causing errors Nov 11, 2023
@scarf005 scarf005 added this pull request to the merge queue Nov 11, 2023
Merged via the queue into cataclysmbnteam:upload with commit a284394 Nov 11, 2023
14 of 17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
src changes related to source code. tests changes related to tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dropping wielded ammo using the drop menu does not work
2 participants