Core/Misc: Graveyards can now use conditions, SourceType = 27, SourceEntry = graveyard_zone.ID

This commit is contained in:
Aokromes committed 2018-03-17 09:56:43 +01:00
1 parent 0a37b6e2f9
commit 8d38ec47fb
9 files changed
+27 -12

No files matched your search

+1 -1
View File
@@ -1582,7 +1582,7 @@ public:
if (Battlefield* bf = sBattlefieldMgr->GetBattlefieldToZoneId(player->GetZoneId()))
nearestLoc = bf->GetClosestGraveYard(player);
else
nearestLoc = sObjectMgr->GetClosestGraveYard(player->GetPositionX(), player->GetPositionY(), player->GetPositionZ(), player->GetMapId(), player->GetTeam());
nearestLoc = sObjectMgr->GetClosestGraveYard(*player, player->GetTeam(), player);
}
}
else