diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/game/Player.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game/Player.h b/src/game/Player.h index c6b99cefe70..fee19798c17 100644 --- a/src/game/Player.h +++ b/src/game/Player.h @@ -2155,6 +2155,10 @@ class TRINITY_DLL_SPEC Player : public Unit uint32 GetOldPetSpell() const { return m_oldpetspell; } void SetOldPetSpell(uint32 petspell) { m_oldpetspell = petspell; } + // check if player can fly in map/area according to config + bool CanFlyInMap(const uint32 mapID) const; + bool CanFlyInArea(const uint32 areaID) const; + /*********************************************************/ /*** INSTANCE SYSTEM ***/ /*********************************************************/ |