aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWarpten <vertozor@gmail.com>2013-03-11 21:12:36 +0100
committerWarpten <vertozor@gmail.com>2013-03-11 21:12:36 +0100
commit33d573064b277361df75c16b196f10c1ba0f0e02 (patch)
tree53a4d8b438ce1954d60d1e9efb35a77b8c3407b5 /src
parenta3e4f05e1a1cc7f39de2b6eaf81eb1ec716da26e (diff)
Fixed build.
Diffstat (limited to 'src')
-rw-r--r--src/server/game/Globals/ObjectMgr.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/game/Globals/ObjectMgr.cpp b/src/server/game/Globals/ObjectMgr.cpp
index 4582ee5d50a..cb4a112c42f 100644
--- a/src/server/game/Globals/ObjectMgr.cpp
+++ b/src/server/game/Globals/ObjectMgr.cpp
@@ -3269,11 +3269,11 @@ void ObjectMgr::LoadPlayerInfo()
continue;
}
- for (uint32 raceIndex = RACE_HUMAN; raceIndex <= RACE_WORGEN; ++raceIndex)
+ for (uint32 raceIndex = RACE_HUMAN; raceIndex < MAX_RACES; ++raceIndex)
{
if (raceMask == 0 || ((1 << (raceIndex - 1)) & raceMask))
{
- for (uint32 classIndex = CLASS_WARRIOR; classIndex <= CLASS_DRUID; ++classIndex)
+ for (uint32 classIndex = CLASS_WARRIOR; classIndex < MAX_RACES; ++classIndex)
{
if (classMask == 0 || ((1 << (classIndex - 1)) & classMask))
{