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

Optimize StartSpell() #7211

Merged
merged 1 commit into from
Aug 24, 2024
Merged

Conversation

kphoenix137
Copy link
Collaborator

isValid can be set to false initially, removing the need for a case for SpellType::Invalid, as if all the previous conditions are not met, isValid will remain false.

Source/player.cpp Outdated Show resolved Hide resolved
`isValid` can be set to false initially, removing the need for a case for `SpellType::Invalid`, as if all the previous conditions are not met, `isValid` will remain false.
@AJenbo AJenbo merged commit a374985 into diasurgical:master Aug 24, 2024
22 checks passed
@kphoenix137 kphoenix137 deleted the optimize-StartSpell branch August 24, 2024 19:37
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.

3 participants