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

No files matched your search

+1 -1
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;