aboutsummaryrefslogtreecommitdiff
path: root/src/server/game
diff options
context:
space:
mode:
authorWyldePointer <sohrab.monfared@gmail.com>2013-03-09 15:20:57 +0000
committerNay <dnpd.dd@gmail.com>2013-03-09 15:20:57 +0000
commit47f7687bab80c1434ac7641b81bbbc064d4f22db (patch)
tree697eeab528fc9da414c690cd64f515e2b1cecdcc /src/server/game
parentd2024c5c05690fd9047029156d85fb6cc08e50ca (diff)
Core: Remove unnecessary commas
Last element of enumerator does not need comma after it's value. Closes #9367
Diffstat (limited to 'src/server/game')
-rw-r--r--src/server/game/AI/EventAI/CreatureEventAIMgr.h4
-rw-r--r--src/server/game/AI/SmartScripts/SmartAI.h2
-rw-r--r--src/server/game/AI/SmartScripts/SmartScriptMgr.h4
-rw-r--r--src/server/game/Battlegrounds/Zones/BattlegroundDS.h20
-rw-r--r--src/server/game/Battlegrounds/Zones/BattlegroundRV.h8
5 files changed, 19 insertions, 19 deletions
diff --git a/src/server/game/AI/EventAI/CreatureEventAIMgr.h b/src/server/game/AI/EventAI/CreatureEventAIMgr.h
index 1ec08682563..8e862a9279b 100644
--- a/src/server/game/AI/EventAI/CreatureEventAIMgr.h
+++ b/src/server/game/AI/EventAI/CreatureEventAIMgr.h
@@ -27,8 +27,8 @@ class CreatureEventAIMgr
friend class ACE_Singleton<CreatureEventAIMgr, ACE_Null_Mutex>;
private:
- CreatureEventAIMgr(){};
- ~CreatureEventAIMgr(){};
+ CreatureEventAIMgr(){}
+ ~CreatureEventAIMgr(){}
public:
void LoadCreatureEventAI_Texts();
diff --git a/src/server/game/AI/SmartScripts/SmartAI.h b/src/server/game/AI/SmartScripts/SmartAI.h
index b5b92efdcd2..dee6bec905c 100644
--- a/src/server/game/AI/SmartScripts/SmartAI.h
+++ b/src/server/game/AI/SmartScripts/SmartAI.h
@@ -45,7 +45,7 @@ enum SmartEscortVars
class SmartAI : public CreatureAI
{
public:
- ~SmartAI(){};
+ ~SmartAI(){}
explicit SmartAI(Creature* c);
// Start moving to the desired MovePoint
diff --git a/src/server/game/AI/SmartScripts/SmartScriptMgr.h b/src/server/game/AI/SmartScripts/SmartScriptMgr.h
index 7b184503e88..2ff5ce27aa0 100644
--- a/src/server/game/AI/SmartScripts/SmartScriptMgr.h
+++ b/src/server/game/AI/SmartScripts/SmartScriptMgr.h
@@ -1301,9 +1301,9 @@ typedef UNORDERED_MAP<int32, SmartAIEventList> SmartAIEventMap;
class SmartAIMgr
{
friend class ACE_Singleton<SmartAIMgr, ACE_Null_Mutex>;
- SmartAIMgr(){};
+ SmartAIMgr(){}
public:
- ~SmartAIMgr(){};
+ ~SmartAIMgr(){}
void LoadSmartAIFromDB();
diff --git a/src/server/game/Battlegrounds/Zones/BattlegroundDS.h b/src/server/game/Battlegrounds/Zones/BattlegroundDS.h
index c9fe5e43c33..43437595220 100644
--- a/src/server/game/Battlegrounds/Zones/BattlegroundDS.h
+++ b/src/server/game/Battlegrounds/Zones/BattlegroundDS.h
@@ -106,15 +106,15 @@ class BattlegroundDS : public Battleground
void PostUpdateImpl(uint32 diff);
protected:
- uint32 getWaterFallStatus() { return _waterfallStatus; };
- void setWaterFallStatus(uint8 status) { _waterfallStatus = status; };
- uint32 getWaterFallTimer() { return _waterfallTimer; };
- void setWaterFallTimer(uint32 timer) { _waterfallTimer = timer; };
- uint32 getWaterFallKnockbackTimer() { return _waterfallKnockbackTimer; };
- void setWaterFallKnockbackTimer(uint32 timer) { _waterfallKnockbackTimer = timer; };
- uint8 getPipeKnockBackCount() { return _pipeKnockBackCount; };
- void setPipeKnockBackCount(uint8 count) { _pipeKnockBackCount = count; };
- uint32 getPipeKnockBackTimer() { return _pipeKnockBackTimer; };
- void setPipeKnockBackTimer(uint32 timer) { _pipeKnockBackTimer = timer; };
+ uint32 getWaterFallStatus() { return _waterfallStatus; }
+ void setWaterFallStatus(uint8 status) { _waterfallStatus = status; }
+ uint32 getWaterFallTimer() { return _waterfallTimer; }
+ void setWaterFallTimer(uint32 timer) { _waterfallTimer = timer; }
+ uint32 getWaterFallKnockbackTimer() { return _waterfallKnockbackTimer; }
+ void setWaterFallKnockbackTimer(uint32 timer) { _waterfallKnockbackTimer = timer; }
+ uint8 getPipeKnockBackCount() { return _pipeKnockBackCount; }
+ void setPipeKnockBackCount(uint8 count) { _pipeKnockBackCount = count; }
+ uint32 getPipeKnockBackTimer() { return _pipeKnockBackTimer; }
+ void setPipeKnockBackTimer(uint32 timer) { _pipeKnockBackTimer = timer; }
};
#endif
diff --git a/src/server/game/Battlegrounds/Zones/BattlegroundRV.h b/src/server/game/Battlegrounds/Zones/BattlegroundRV.h
index af6b5996edd..b6dc3775df8 100644
--- a/src/server/game/Battlegrounds/Zones/BattlegroundRV.h
+++ b/src/server/game/Battlegrounds/Zones/BattlegroundRV.h
@@ -118,11 +118,11 @@ class BattlegroundRV : public Battleground
void PostUpdateImpl(uint32 diff);
protected:
- uint32 getTimer() { return Timer; };
- void setTimer(uint32 timer) { Timer = timer; };
+ uint32 getTimer() { return Timer; }
+ void setTimer(uint32 timer) { Timer = timer; }
- uint32 getState() { return State; };
- void setState(uint32 state) { State = state; };
+ uint32 getState() { return State; }
+ void setState(uint32 state) { State = state; }
void TogglePillarCollision();
bool GetPillarCollision() { return PillarCollision; }
void SetPillarCollision(bool apply) { PillarCollision = apply; }