From da9f94637a6461e4281cdff9668e65ff6690bf51 Mon Sep 17 00:00:00 2001 From: AlexDereka Date: Sun, 3 May 2009 22:44:08 +0400 Subject: [PATCH] [7746] Add const attribute to Player::SendInitialActionButtons. --- src/game/Player.cpp | 2 +- src/game/Player.h | 2 +- src/shared/revision_nr.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/game/Player.cpp b/src/game/Player.cpp index dc6796793..934c4add1 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -5370,7 +5370,7 @@ int16 Player::GetSkillTempBonusValue(uint32 skill) const return 0; } -void Player::SendInitialActionButtons() +void Player::SendInitialActionButtons() const { sLog.outDetail( "Initializing Action Buttons for '%u'", GetGUIDLow() ); diff --git a/src/game/Player.h b/src/game/Player.h index 04cd287fa..f31b7ede9 100644 --- a/src/game/Player.h +++ b/src/game/Player.h @@ -1436,7 +1436,7 @@ class MANGOS_DLL_SPEC Player : public Unit bool addActionButton(uint8 button, uint16 action, uint8 type, uint8 misc); void removeActionButton(uint8 button); - void SendInitialActionButtons(); + void SendInitialActionButtons() const; PvPInfo pvpInfo; void UpdatePvP(bool state, bool ovrride=false); diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 50cdc8cee..cbbb014ac 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "7745" + #define REVISION_NR "7746" #endif // __REVISION_NR_H__