aboutsummaryrefslogtreecommitdiff
path: root/src/game/Player.h
diff options
context:
space:
mode:
authorMachiavelli <none@none>2009-08-15 23:31:58 +0200
committerMachiavelli <none@none>2009-08-15 23:31:58 +0200
commit00d53460c8dc34fbc0ea038973943a7ea666cd3d (patch)
tree9a26b8c1a99cea4f70827295091fdcfb07ae1e3a /src/game/Player.h
parenteb9d9ff071936aa0b3b8aead01025da77e1c6b2a (diff)
* Better way to toggle between action bars for duel speccing, with help from thenecromancer's patch, thank you.
* Correctly adopt spec 1's action bars into spec 2 when learning a new spec. * Correct handling for UpdateSpecCount where count == 1. * Other small cleanup and consistency variables. --HG-- branch : trunk
Diffstat (limited to 'src/game/Player.h')
-rw-r--r--src/game/Player.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/Player.h b/src/game/Player.h
index 71cf1852b0b..7d417ffda11 100644
--- a/src/game/Player.h
+++ b/src/game/Player.h
@@ -1480,7 +1480,7 @@ class MANGOS_DLL_SPEC Player : public Unit
// Dual Spec
void UpdateSpecCount(uint8 count);
uint32 GetActiveSpec() { return m_activeSpec; }
- void SetActiveSpec(uint8 spec) { m_activeSpec = spec; }
+ void SetActiveSpec(uint8 spec){ m_activeSpec = spec; }
uint8 GetSpecsCount() { return m_specsCount; }
void SetSpecsCount(uint8 count) { m_specsCount = count; }
void ActivateSpec(uint8 spec);
@@ -1568,7 +1568,7 @@ class MANGOS_DLL_SPEC Player : public Unit
ActionButton* addActionButton(uint8 button, uint32 action, uint8 type);
void removeActionButton(uint8 button);
void SendInitialActionButtons() const { SendActionButtons(0); }
- void SendActionButtons(uint32 spec) const;
+ void SendActionButtons(uint32 state) const;
PvPInfo pvpInfo;
void UpdatePvPState(bool onlyFFA = false);