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 UB when accessing move result flags #6030

Merged
merged 3 commits into from
Jan 15, 2025

Conversation

cawtds
Copy link

@cawtds cawtds commented Jan 15, 2025

Description

gBattleStruct->moveResultFlags is accessed with species instead of battler.

Issue(s) that this PR fixes

Fixes #6021

Discord contact info

.cawt

include/battle_util.h Outdated Show resolved Hide resolved
@AlexOn1ine AlexOn1ine merged commit 75d5eda into rh-hideout:upcoming Jan 15, 2025
1 check passed
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