mirror of
https://github.com/mangosfour/server.git
synced 2025-12-18 01:37:01 +00:00
[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:
parent
5ff698f53a
commit
a2b6a6fde5
2 changed files with 1 additions and 6 deletions
|
|
@ -4579,11 +4579,6 @@ void Aura::HandleModThreat(bool apply, bool Real)
|
|||
if (!target->isAlive())
|
||||
return;
|
||||
|
||||
Unit* caster = GetCaster();
|
||||
|
||||
if (!caster || !caster->isAlive())
|
||||
return;
|
||||
|
||||
int level_diff = 0;
|
||||
int multiplier = 0;
|
||||
switch (GetId())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue