mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-28 08:06:23 +00:00
Merge branch 'master' into Playerbot
This commit is contained in:
@@ -1876,7 +1876,7 @@ bool Creature::IsInvisibleDueToDespawn() const
|
||||
if (Unit::IsInvisibleDueToDespawn())
|
||||
return true;
|
||||
|
||||
if (IsAlive() || m_corpseRemoveTime > GameTime::GetGameTime().count())
|
||||
if (IsAlive() || isDying() || m_corpseRemoveTime > GameTime::GetGameTime().count())
|
||||
return false;
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user