*Mangos [7039] Implement mangosd.conf options Death.Bones. By VladimirMangos.

*for disable bones creating from corpse in world zones or in arena/bg.
*Note: in case apply insignia bones still created as required for looting.

--HG--
branch : trunk
This commit is contained in:
megamage committed 2009-01-06 13:50:42 -06:00
1 parent 8b876b0817
commit 5b2c61e95e
8 files changed
+22 -6

No files matched your search

+1 -1
View File
@@ -7324,7 +7324,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;