diff options
author | n0n4m3 <none@none> | 2009-12-17 12:25:31 +0100 |
---|---|---|
committer | n0n4m3 <none@none> | 2009-12-17 12:25:31 +0100 |
commit | fec5aa38cd8719a75b719a5bcac62bba696054b1 (patch) | |
tree | bd235a0c9e356b2c1e4083e69e72b8dd58300085 /src/game/Unit.h | |
parent | 772cf54fb5c2976887433a0daa586f05b28bd747 (diff) |
Update Spell code for 322a. Part 3
--HG--
branch : trunk
Diffstat (limited to 'src/game/Unit.h')
-rw-r--r-- | src/game/Unit.h | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/src/game/Unit.h b/src/game/Unit.h index b54fd00f1de..4c2df52c530 100644 --- a/src/game/Unit.h +++ b/src/game/Unit.h @@ -206,7 +206,6 @@ enum ShapeshiftForm FORM_ZOMBIE = 0x15, FORM_METAMORPHOSIS = 0x16, FORM_UNDEAD = 0x19, - FORM_MASTER_ANGLER = 0x1A, FORM_FLIGHT_EPIC = 0x1B, FORM_SHADOW = 0x1C, FORM_FLIGHT = 0x1D, @@ -715,6 +714,7 @@ enum MonsterMovementFlags struct MovementInfo { // common + uint64 guid; uint32 flags; uint16 unk1; uint32 time; @@ -1623,18 +1623,6 @@ class TRINITY_DLL_SPEC Unit : public WorldObject SetOrientation(GetAngle(target)); } bool isInBackInMap(Unit const* target, float distance, float arc = M_PI) const; - void ChangeOrient(float fAngle, Unit* pUnit = NULL) - { - if(!this) - return; - - if(!pUnit) - this->SetOrientation(fAngle); - else - this->SetInFront(pUnit); - - this->SendMovementFlagUpdate(); - } // Visibility system UnitVisibility GetVisibility() const { return m_Visibility; } @@ -1852,6 +1840,8 @@ class TRINITY_DLL_SPEC Unit : public WorldObject void AddPetAura(PetAura const* petSpell); void RemovePetAura(PetAura const* petSpell); + uint32 GetModelForForm(ShapeshiftForm form); + // relocation notification void SetToNotify(); bool m_Notified; @@ -2030,4 +2020,3 @@ namespace Trinity } #endif - |