Merge pull request #15267 from Tonghost/3.3.5

Core/Misc: Add a few consts to methods
This commit is contained in:
Carbenium
2015-08-12 22:24:26 +02:00

View File

@@ -1627,9 +1627,9 @@ class Player : public Unit, public GridObject<Player>
// Dual Spec
void UpdateSpecCount(uint8 count);
uint32 GetActiveSpec() { return m_activeSpec; }
uint32 GetActiveSpec() const { return m_activeSpec; }
void SetActiveSpec(uint8 spec){ m_activeSpec = spec; }
uint8 GetSpecsCount() { return m_specsCount; }
uint8 GetSpecsCount() const { return m_specsCount; }
void SetSpecsCount(uint8 count) { m_specsCount = count; }
void ActivateSpec(uint8 spec);