Core/Players: Fix corpse remove visual for clients
This commit is contained in:
@@ -200,7 +200,10 @@ void ObjectAccessor::RemoveCorpse(Corpse* corpse)
|
||||
ASSERT(corpse && corpse->GetType() != CORPSE_BONES);
|
||||
|
||||
if (corpse->FindMap())
|
||||
{
|
||||
corpse->DestroyForNearbyPlayers();
|
||||
corpse->FindMap()->Remove(corpse, false);
|
||||
}
|
||||
else
|
||||
corpse->RemoveFromWorld();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user