Core/Unit: Clear threat list on units when they die (fix players having aggro on corpses)
Original suggestion by glorandwarf@yahoo.com Fixes issue #4667 --HG-- branch : trunk
This commit is contained in:
1 parent
1b8007767a
commit
26d8e04351
2 files changed
+2
-1
No files matched your search
@@ -12518,7 +12518,7 @@ bool Unit::CanHaveThreatList() const
|
||||
return false;
|
||||
|
||||
// only alive units can have threat list
|
||||
if (!isAlive())
|
||||
if (!isAlive() || isDying())
|
||||
return false;
|
||||
|
||||
// totems can not have threat list
|
||||
|
||||
Reference in new issue
Block a user