mirror of
https://github.com/mangosfour/server.git
synced 2025-12-27 01:37:04 +00:00
[10007] Fix wrongly initialized value
This commit is contained in:
parent
b98691501b
commit
6551671f6d
8 changed files with 13 additions and 8 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue