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

Set uninitialized item ID in market active offers #4375

Merged
merged 1 commit into from
Apr 5, 2023

Conversation

ranisalt
Copy link
Member

@ranisalt ranisalt commented Apr 5, 2023

Pull Request Prelude

Changes Proposed

The value for offer.itemId is uninitialized, but used later on. It does not cause issues because active offers always refer to a given item ID that is inferred by the client, but this may trigger undesired behavior in edge cases or future updates.

@EPuncker EPuncker merged commit a850ad9 into otland:master Apr 5, 2023
@ranisalt ranisalt deleted the market-uninitialized-itemid branch April 5, 2023 23:59
EPuncker pushed a commit to EPuncker/forgottenserver that referenced this pull request May 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants