diff options
| author | Shauren <none@none> | 2010-12-20 11:39:12 +0100 |
|---|---|---|
| committer | Shauren <none@none> | 2010-12-20 11:39:12 +0100 |
| commit | e3e77aceab7f4781f71890110e4a88dcc8e60d44 (patch) | |
| tree | c23ee8cce51292e441c4279acb154ff7e6b684a6 /src/server/game | |
| parent | 756ee5832ba09923eb0e736fd85f8ba0ae72001e (diff) | |
Scripts/Temple of Anh'Qiraj: Fixed possible crash in mob_anubisath_sentinel
--HG--
branch : trunk
Diffstat (limited to 'src/server/game')
| -rwxr-xr-x | src/server/game/Entities/Unit/Unit.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/server/game/Entities/Unit/Unit.cpp b/src/server/game/Entities/Unit/Unit.cpp index 9f609df1394..a3757827b6d 100755 --- a/src/server/game/Entities/Unit/Unit.cpp +++ b/src/server/game/Entities/Unit/Unit.cpp @@ -3435,9 +3435,8 @@ void Unit::_AddAura(UnitAura * aura, Unit * caster) if (Aura * foundAura = GetOwnedAura(aura->GetId(), aura->GetCasterGUID(), aura->GetCastItemGUID(), 0, aura)) { if (aura->GetSpellProto()->StackAmount) - { aura->ModStackAmount(foundAura->GetStackAmount()); - } + // Update periodic timers from the previous aura for (uint8 i = 0; i < MAX_SPELL_EFFECTS; ++i) { |
