mirror of
https://github.com/mangosfour/server.git
synced 2025-12-28 22:37:04 +00:00
[7039] Implement mangosd.conf options Death.Bones.* 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.
This commit is contained in:
parent
1c5456324a
commit
7bae367084
8 changed files with 22 additions and 6 deletions
|
|
@ -53,7 +53,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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue