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:
Disassembler
2009-05-04 16:54:35 +02:00
parent 2797d69936
commit 92cfbad2b2
7 changed files with 21 additions and 5 deletions

View File

@@ -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;