diff options
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); |