aboutsummaryrefslogtreecommitdiff
path: root/src/game/PoolHandler.h
diff options
context:
space:
mode:
authormaximius <none@none>2009-09-11 16:25:11 -0700
committermaximius <none@none>2009-09-11 16:25:11 -0700
commit2bb0c319789c893255d94556bd8a819f96be0c0d (patch)
tree8ac2b7dded072fce9ff871b4ffc7990b018143cb /src/game/PoolHandler.h
parent996fcc967f05e304cc0e51bb4e0dd2d5a0de17c9 (diff)
*[8474] Allow to delete BattleGround objects when any of invited players didn't click to enter battle. Rename m_TeamScores500disadvantage to m_TeamScores500Disadvantage, and optimize its update. Patch is tested. Author: Triply
*Added some missed changes that might of broken compile in the last 2~ commits. *Some fixes to Warlock's Death Coil by Gyullo. *Last MaNGOS merge until KingPin says otherwise.. --HG-- branch : trunk
Diffstat (limited to 'src/game/PoolHandler.h')
-rw-r--r--src/game/PoolHandler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/PoolHandler.h b/src/game/PoolHandler.h
index 35e18c2d58c..8b6c82d1197 100644
--- a/src/game/PoolHandler.h
+++ b/src/game/PoolHandler.h
@@ -43,7 +43,7 @@ class PoolGroup
public:
PoolGroup();
~PoolGroup() {};
- bool isEmpty() { return ExplicitlyChanced.size()==0 && EqualChanced.size()==0; }
+ bool isEmpty() { return ExplicitlyChanced.empty() && EqualChanced.empty(); }
void AddEntry(PoolObject& poolitem, uint32 maxentries);
bool CheckPool(void);
uint32 RollOne(void);