*Fix the db error when saving pet auras.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-05-02 21:49:21 -05:00
parent eeeae2e349
commit 272697ede1
+1 -1
View File
@@ -1181,7 +1181,7 @@ void Pet::_SaveAuras()
|| itr->second->IsAreaAura()) || itr->second->IsAreaAura())
continue; continue;
uint32 amounts[MAX_SPELL_EFFECTS]; int32 amounts[MAX_SPELL_EFFECTS];
for (uint8 i = 0; i < MAX_SPELL_EFFECTS; ++i) for (uint8 i = 0; i < MAX_SPELL_EFFECTS; ++i)
{ {
if (AuraEffect *partAura = itr->second->GetPartAura(i)) if (AuraEffect *partAura = itr->second->GetPartAura(i))