fix my typo

thanks to KingPin for pointing the problem

--HG--
branch : trunk
This commit is contained in:
silver1ce
2010-03-07 21:36:39 +02:00
parent 07f3b91426
commit f63ee4050c

View File

@@ -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);