diff options
author | Shauren <shauren.trinity@gmail.com> | 2014-10-22 00:35:00 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2014-10-22 00:35:00 +0200 |
commit | e7d9830a06aa23c49b93053c4debb98d1bbcea69 (patch) | |
tree | 216e91793e259fe6d50f9304bf58e277c45e0a15 /src/server/game/Groups/Group.cpp | |
parent | 7ae708acf57899721d77e4d09e1636281582f8e7 (diff) |
Core/Groups: Use full guid for group lookup
Diffstat (limited to 'src/server/game/Groups/Group.cpp')
-rw-r--r-- | src/server/game/Groups/Group.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/server/game/Groups/Group.cpp b/src/server/game/Groups/Group.cpp index e17e9b0b834..463b12379fa 100644 --- a/src/server/game/Groups/Group.cpp +++ b/src/server/game/Groups/Group.cpp @@ -1016,12 +1016,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 @@ -1077,12 +1077,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 @@ -1158,12 +1158,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 @@ -1221,12 +1221,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 |