8000 IsInWater() optimization · Issue #48 · jackpoz/TrinityCore · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

IsInWater() optimization #48

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

Open
jackpoz opened this issue Jun 15, 2018 · 0 comments
Open

IsInWater() optimization #48

jackpoz opened this issue Jun 15, 2018 · 0 comments

Comments

6488
@jackpoz
Copy link
Owner
jackpoz commented Jun 15, 2018

Optimize SetSwim(GetMovementTemplate().IsSwimAllowed() && IsInWater()) to call IsInWater() only if the creature actually moved

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

No branches or pull requests

1 participant
0