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

Do not apply item validation to Single Player games #7562

Merged
merged 1 commit into from
Nov 27, 2024

Conversation

StephenCWills
Copy link
Member

#7506 introduced calls to item validation into Player::CanUseItem() and CalcSelfItems() which are functions shared between Single Player and Multiplayer games. The item validation should probably not be applied to Single Player at all because data errors introduced by bugs in vanilla can make their way into DevilutionX via the item data stored in Single Player savegames. Those data errors can cause items to appear invalid when they actually aren't.

Note that the steps to reproduce described in #7561 will no longer work after incorporating this fix.

@AJenbo AJenbo merged commit d8811eb into diasurgical:master Nov 27, 2024
23 checks passed
@StephenCWills StephenCWills deleted the no-sp-item-validation branch November 27, 2024 05:20
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.

2 participants