Core/Misc: Add a few consts to methods

This commit is contained in:
Incorrect
2015-08-12 22:49:21 +03:00
parent ea4d9c0d9e
commit 071b2c68e8

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);