diff options
author | Xanadu <none@none> | 2010-03-15 04:37:28 +0100 |
---|---|---|
committer | Xanadu <none@none> | 2010-03-15 04:37:28 +0100 |
commit | f9566e08ac05fd0f3cfca069e0fed4f885550efb (patch) | |
tree | 72c346ff95437a0318fc926e2f1c2ecfbbde081b /src/game/Player.h | |
parent | 8cc3d2ad7f01cf5a707f72fbd6e7d79cb7c02f53 (diff) |
Properly implemented CONDITION_ACHIEVEMENT for the DB gossip system.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Player.h')
-rw-r--r-- | src/game/Player.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/Player.h b/src/game/Player.h index bc89f800931..10e566c6664 100644 --- a/src/game/Player.h +++ b/src/game/Player.h @@ -2297,6 +2297,7 @@ class Player : public Unit, public GridObject<Player> void InitRunes(); AchievementMgr& GetAchievementMgr() { return m_achievementMgr; } + AchievementMgr const& GetAchievementMgr() const { return m_achievementMgr; } void UpdateAchievementCriteria(AchievementCriteriaTypes type, uint32 miscvalue1 = 0, uint32 miscvalue2 = 0, Unit *unit = NULL, uint32 time = 0); void CompletedAchievement(AchievementEntry const* entry); @@ -2314,7 +2315,7 @@ class Player : public Unit, public GridObject<Player> uint32 GetChampioningFaction() const { return m_ChampioningFaction; } void SetChampioningFaction(uint32 faction) { m_ChampioningFaction = faction; } -Spell * m_spellModTakingSpell; + Spell * m_spellModTakingSpell; protected: uint32 m_AreaID; |