* More updating of iterator data types in loops

--HG--
branch : trunk
This commit is contained in:
Machiavelli
2009-06-18 18:29:28 +02:00
parent 1f871af996
commit a4dafbf8ec
11 changed files with 113 additions and 112 deletions

View File

@@ -5085,7 +5085,7 @@ bool ChatHandler::HandleListAurasCommand (const char * /*args*/)
IS_PLAYER_GUID(itr->second->GetCasterGUID()) ? "player" : "creature",GUID_LOPART(itr->second->GetCasterGUID()));
}
}
for (int i = 0; i < TOTAL_AURAS; ++i)
for (uint16 i = 0; i < TOTAL_AURAS; ++i)
{
Unit::AuraEffectList const& uAuraList = unit->GetAurasByType(AuraType(i));
if (uAuraList.empty()) continue;