aboutsummaryrefslogtreecommitdiff
path: root/src/game/ObjectMgr.cpp
diff options
context:
space:
mode:
authorsilver1ce <none@none>2010-03-07 21:36:39 +0200
committersilver1ce <none@none>2010-03-07 21:36:39 +0200
commitf63ee4050c708c84b7db068125feba748ef9f60d (patch)
treebbd6a0095bc1e4a21ebdba70ad2e35ff2c7c5516 /src/game/ObjectMgr.cpp
parent07f3b914260374792fe8b40d590cb24067c87125 (diff)
fix my typo
thanks to KingPin for pointing the problem --HG-- branch : trunk
Diffstat (limited to 'src/game/ObjectMgr.cpp')
-rw-r--r--src/game/ObjectMgr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/ObjectMgr.cpp b/src/game/ObjectMgr.cpp
index b538f204bef..81eee2ec6a5 100644
--- a/src/game/ObjectMgr.cpp
+++ b/src/game/ObjectMgr.cpp
@@ -9004,7 +9004,7 @@ void ObjectMgr::LoadCreatureClassLevelStats()
if (!info)
continue;
- for(uint8 lvl = info->minlevel; lvl <= info->maxlevel; ++lvl)
+ for(uint16 lvl = info->minlevel; lvl <= info->maxlevel; ++lvl)
{
if (m_creatureBaseStatsMap.find( MAKE_PAIR16(lvl, info->unit_class) ) == m_creatureBaseStatsMap.end())
sLog.outErrorDb("Missing base stats for creature class %u level %u", info->unit_class, lvl);