Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8880] Some adjustments/additions for updateflag_living and flying cr…
…eatures Signed-off-by: NoFantasy <nofantasy@nf.no>
- Loading branch information
NoFantasy
committed
Nov 27, 2009
1 parent
f65cd42
commit 5eec80f
Showing
2 changed files
with
22 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#ifndef __REVISION_NR_H__ | ||
#define __REVISION_NR_H__ | ||
#define REVISION_NR "8879" | ||
#define REVISION_NR "8880" | ||
#endif // __REVISION_NR_H__ |
5eec80f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are you tested this? ((Creature*)this)->IsStopped() - its motion master state only, thats not mean that creature really stopped
it will improve visual bugs
http://getmangos.com/community/showthread.php?t=10636
5eec80f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Strange question. If i tested it? Yes, of course. And yes, that was the point, as you can see from the code. If the current movement of the creature is not moving (is standing still, for any reason) then not apply the flag either. If the creature moves after this point, then the proper monsterMove flags are sent in a different packet.
Still, feel free to share your research on the forum to extend and improve it even further and also post reports about any negative effects after this patch :)