From f3eaa829f1c4a67aff5e889d69e7a95daf383605 Mon Sep 17 00:00:00 2001 From: crow Date: Mon, 15 Sep 2025 09:26:13 -0500 Subject: [PATCH] update item references due to core rewrite of item packets --- src/aoe_loot.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/aoe_loot.cpp b/src/aoe_loot.cpp index 112a6c8..9be017d 100644 --- a/src/aoe_loot.cpp +++ b/src/aoe_loot.cpp @@ -322,7 +322,7 @@ bool AoeLootCommandScript::ValidateLootingDistance(Player* player, ObjectGuid lg } else if (lguid.IsItem()) { - Item* pItem = player->GetItemByGuid(lguid); + ::Item* pItem = player->GetItemByGuid(lguid); return (pItem != nullptr); // Items in inventory don't need distance check } else if (lguid.IsCorpse()) @@ -457,7 +457,7 @@ void AoeLootCommandScript::ReleaseAndCleanupLoot(ObjectGuid lguid, Player* playe } else if (lguid.IsItem()) { - Item* pItem = player->GetItemByGuid(lguid); + ::Item* pItem = player->GetItemByGuid(lguid); if (!pItem) return; @@ -544,7 +544,7 @@ bool AoeLootCommandScript::ProcessSingleLootSlot(Player* player, ObjectGuid lgui else if (lguid.IsItem()) { - Item* pItem = player->GetItemByGuid(lguid); + ::Item* pItem = player->GetItemByGuid(lguid); if (!pItem) { player->SendLootRelease(lguid);