[10007] Fix wrongly initialized value

This commit is contained in:
Laise 2010-05-30 23:38:38 +03:00
parent b98691501b
commit 6551671f6d
8 changed files with 13 additions and 8 deletions

View file

@ -1188,7 +1188,7 @@ void Pet::_LoadAuras(uint32 timediff)
remaincharges = spellproto->procCharges;
}
else
remaincharges = -1;
remaincharges = 0;
/// do not load single target auras (unless they were cast by the player)
if (caster_guid != GetGUID() && IsSingleTargetSpell(spellproto))