Core/Corpses: Fix a crash in ConvertCorpseForPlayer
This commit is contained in:
@@ -8612,10 +8612,6 @@ void Player::RemovedInsignia(Player* looterPlr)
|
||||
RepopAtGraveyard();
|
||||
}
|
||||
|
||||
Corpse *corpse = GetCorpse();
|
||||
if (!corpse)
|
||||
return;
|
||||
|
||||
// We have to convert player corpse to bones, not to be able to resurrect there
|
||||
// SpawnCorpseBones isn't handy, 'cos it saves player while he in BG
|
||||
Corpse *bones = sObjectAccessor->ConvertCorpseForPlayer(GetGUID(), true);
|
||||
|
||||
Reference in New Issue
Block a user