fix(Core/Bones): Unable to create bones (#21635)
This commit is contained in:
parent
ba37b3d130
commit
a2a0bc51ab
1 changed files with 1 additions and 1 deletions
|
|
@ -2828,7 +2828,7 @@ Corpse* Map::ConvertCorpseToBones(ObjectGuid const ownerGuid, bool insignia /*=
|
|||
// ignore bones creating option in case insignia
|
||||
if ((insignia ||
|
||||
(IsBattlegroundOrArena() ? sWorld->getBoolConfig(CONFIG_DEATH_BONES_BG_OR_ARENA) : sWorld->getBoolConfig(CONFIG_DEATH_BONES_WORLD))) &&
|
||||
!IsGridCreated(corpse->GetPositionX(), corpse->GetPositionY()))
|
||||
IsGridLoaded(corpse->GetPositionX(), corpse->GetPositionY()))
|
||||
{
|
||||
// Create bones, don't change Corpse
|
||||
bones = new Corpse();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue