*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:
1 parent
8b876b0817
commit
5b2c61e95e
8 files changed
+22
-6
No files matched your search
@@ -55,7 +55,7 @@ static void CorpsesEraseCallBack(QueryResult *result, bool bones)
|
||||
{
|
||||
if(!ObjectAccessor::Instance().ConvertCorpseForPlayer(player_guid))
|
||||
{
|
||||
sLog.outDebug("Corpse %u not found in world. Delete from DB.",guidlow);
|
||||
sLog.outDebug("Corpse %u not found in world or bones creating forbidden. Delete from DB.",guidlow);
|
||||
CharacterDatabase.PExecute("DELETE FROM corpse WHERE guid = '%u'",guidlow);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user