From f63ee4050c708c84b7db068125feba748ef9f60d Mon Sep 17 00:00:00 2001 From: silver1ce Date: Sun, 7 Mar 2010 21:36:39 +0200 Subject: [PATCH] fix my typo thanks to KingPin for pointing the problem --HG-- branch : trunk --- src/game/ObjectMgr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);