diff options
| author | megamage <none@none> | 2009-03-16 15:57:34 -0600 |
|---|---|---|
| committer | megamage <none@none> | 2009-03-16 15:57:34 -0600 |
| commit | 0213ad8a1f21de1a76c63e67f35b1f2061f6e7d4 (patch) | |
| tree | 3542e680015b0bcdda29ef7994134a21afe41c90 /src/game/Unit.h | |
| parent | 610b3315351bf66012826af97fb24a333b75bc08 (diff) | |
[7475] Move Player::IsInFeralForm to Unit::IsInFeralForm Author: VladimirMangos
--HG--
branch : trunk
Diffstat (limited to 'src/game/Unit.h')
| -rw-r--r-- | src/game/Unit.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/Unit.h b/src/game/Unit.h index c977a1f1b0e..a54945241d6 100644 --- a/src/game/Unit.h +++ b/src/game/Unit.h @@ -1302,8 +1302,11 @@ class TRINITY_DLL_SPEC Unit : public WorldObject uint64 m_ObjectSlot[4]; uint32 m_detectInvisibilityMask; uint32 m_invisibilityMask; + uint32 m_ShapeShiftFormSpellId; ShapeshiftForm m_form; + bool IsInFeralForm() const { return m_form == FORM_CAT || m_form == FORM_BEAR || m_form == FORM_DIREBEAR; } + float m_modMeleeHitChance; float m_modRangedHitChance; float m_modSpellHitChance; |
