diff options
Diffstat (limited to 'src/game/ObjectMgr.cpp')
-rw-r--r-- | src/game/ObjectMgr.cpp | 2 |
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); |