mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-23 02:25:38 +01:00
Backport from TC2 (resp. Mangos) conf options Death.Bones.* for disable bones
creating from corpse in world zones or in arena/bg. --HG-- branch : trunk
This commit is contained in:
@@ -7247,7 +7247,7 @@ void Player::RemovedInsignia(Player* looterPlr)
|
||||
|
||||
// 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 = ObjectAccessor::Instance().ConvertCorpseForPlayer(GetGUID());
|
||||
Corpse *bones = ObjectAccessor::Instance().ConvertCorpseForPlayer(GetGUID(),true);
|
||||
if (!bones)
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user