diff options
author | silver1ce <none@none> | 2010-01-18 21:51:45 +0200 |
---|---|---|
committer | silver1ce <none@none> | 2010-01-18 21:51:45 +0200 |
commit | cfca61b176f1e262e71fa3ba2372ddd631d36c58 (patch) | |
tree | 3d948de297d9268adadfc49af40a0646bb04cb28 /src/game/Unit.h | |
parent | f920a3c57b716712a4eaf2530aae8b6005dc3cfb (diff) |
Auras with turn/move interrupt flags are now removed for creatures when they turn/move, cleanup
--HG--
branch : trunk
Diffstat (limited to 'src/game/Unit.h')
-rw-r--r-- | src/game/Unit.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/Unit.h b/src/game/Unit.h index 592922ee6c4..f9c0116b256 100644 --- a/src/game/Unit.h +++ b/src/game/Unit.h @@ -1425,6 +1425,8 @@ class TRINITY_DLL_SPEC Unit : public WorldObject void SendSpellMiss(Unit *target, uint32 spellID, SpellMissInfo missInfo); void NearTeleportTo(float x, float y, float z, float orientation, bool casting = false); + virtual bool SetPosition(float x, float y, float z, float ang, bool teleport = false); + bool SetPosition(const Position &pos, bool teleport = false) { return SetPosition(pos.GetPositionX(), pos.GetPositionY(), pos.GetPositionZ(), pos.GetOrientation(), teleport); } void KnockbackFrom(float x, float y, float speedXY, float speedZ); void JumpTo(float speedXY, float speedZ, bool forward = true); |