[11469] Fix unapply of SPELL_AURA_MOD_THREAT auras when caster dies or logs off

Signed-off-by: zergtmn <zerg@myisp.com>
This commit is contained in:
breakwater 2011-05-11 18:42:17 +06:00 committed by zergtmn
parent 5ff698f53a
commit a2b6a6fde5
2 changed files with 1 additions and 6 deletions

View file

@ -4579,11 +4579,6 @@ void Aura::HandleModThreat(bool apply, bool Real)
if (!target->isAlive()) if (!target->isAlive())
return; return;
Unit* caster = GetCaster();
if (!caster || !caster->isAlive())
return;
int level_diff = 0; int level_diff = 0;
int multiplier = 0; int multiplier = 0;
switch (GetId()) switch (GetId())

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "11468" #define REVISION_NR "11469"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__