From d2da9ce4ef7c7b0c138ed9d6f233e89bf7260c9b Mon Sep 17 00:00:00 2001 From: Shauren Date: Wed, 22 Oct 2014 00:35:00 +0200 Subject: Core/Groups: Use full guid for group lookup (cherry picked from commit e7d9830a06aa23c49b93053c4debb98d1bbcea69) --- src/server/game/Groups/Group.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/server/game/Groups/Group.cpp') diff --git a/src/server/game/Groups/Group.cpp b/src/server/game/Groups/Group.cpp index 2c6867bc9fa..d450c0d5eca 100644 --- a/src/server/game/Groups/Group.cpp +++ b/src/server/game/Groups/Group.cpp @@ -1141,12 +1141,12 @@ void Group::GroupLoot(Loot* loot, WorldObject* pLootedObject) if (Creature* creature = pLootedObject->ToCreature()) { creature->m_groupLootTimer = 60000; - creature->lootingGroupLowGUID = GetLowGUID(); + creature->lootingGroupLowGUID = GetGUID(); } else if (GameObject* go = pLootedObject->ToGameObject()) { go->m_groupLootTimer = 60000; - go->lootingGroupLowGUID = GetLowGUID(); + go->lootingGroupLowGUID = GetGUID(); } } } @@ -1207,12 +1207,12 @@ void Group::GroupLoot(Loot* loot, WorldObject* pLootedObject) if (Creature* creature = pLootedObject->ToCreature()) { creature->m_groupLootTimer = 60000; - creature->lootingGroupLowGUID = GetLowGUID(); + creature->lootingGroupLowGUID = GetGUID(); } else if (GameObject* go = pLootedObject->ToGameObject()) { go->m_groupLootTimer = 60000; - go->lootingGroupLowGUID = GetLowGUID(); + go->lootingGroupLowGUID = GetGUID(); } } else @@ -1288,12 +1288,12 @@ void Group::NeedBeforeGreed(Loot* loot, WorldObject* lootedObject) if (Creature* creature = lootedObject->ToCreature()) { creature->m_groupLootTimer = 60000; - creature->lootingGroupLowGUID = GetLowGUID(); + creature->lootingGroupLowGUID = GetGUID(); } else if (GameObject* go = lootedObject->ToGameObject()) { go->m_groupLootTimer = 60000; - go->lootingGroupLowGUID = GetLowGUID(); + go->lootingGroupLowGUID = GetGUID(); } } else @@ -1357,12 +1357,12 @@ void Group::NeedBeforeGreed(Loot* loot, WorldObject* lootedObject) if (Creature* creature = lootedObject->ToCreature()) { creature->m_groupLootTimer = 60000; - creature->lootingGroupLowGUID = GetLowGUID(); + creature->lootingGroupLowGUID = GetGUID(); } else if (GameObject* go = lootedObject->ToGameObject()) { go->m_groupLootTimer = 60000; - go->lootingGroupLowGUID = GetLowGUID(); + go->lootingGroupLowGUID = GetGUID(); } } else -- cgit v1.2.3