mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +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())
|
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())
|
||||||
|
|
|
||||||
|
|
@ -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__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue