From d19646ddf15d0ec54969e1bfb016e8ec12ccdaa5 Mon Sep 17 00:00:00 2001 From: Charles A Edwards Date: Sat, 10 Sep 2016 17:17:06 +0100 Subject: [PATCH] Fix applied for Quest Log, Bags, and money issues Quests were not going into the Quest Log. Could not move items around in bags. Total money could not be viewed (always 0). Plus additional unrelated fix - incorrect parameter definition of function. --- src/game/Object/Player.h | 2 +- src/game/Object/UpdateFields.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/Object/Player.h b/src/game/Object/Player.h index cb557099d..490b0d14f 100644 --- a/src/game/Object/Player.h +++ b/src/game/Object/Player.h @@ -1549,7 +1549,7 @@ class Player : public Unit void SendQuestFailed(uint32 quest_id, InventoryResult reason = EQUIP_ERR_OK); void SendQuestTimerFailed(uint32 quest_id); void SendCanTakeQuestResponse(uint32 msg) const; - void SendQuestConfirmAccept(Quest const* pQuest, Player* pReceiver); + void SendQuestConfirmAccept(const Quest* pQuest, Player* pReceiver); void SendPushToPartyResponse(Player* pPlayer, uint32 msg); void SendQuestUpdateAddCreatureOrGo(Quest const* pQuest, ObjectGuid guid, uint32 creatureOrGO_idx, uint32 count); diff --git a/src/game/Object/UpdateFields.h b/src/game/Object/UpdateFields.h index 79a9533a0..a3aa2d433 100644 --- a/src/game/Object/UpdateFields.h +++ b/src/game/Object/UpdateFields.h @@ -129,7 +129,7 @@ enum EUnitFields UNIT_FIELD_HOVERHEIGHT = OBJECT_END + 0x87, UNIT_FIELD_MAXITEMLEVEL = OBJECT_END + 0x88, UNIT_FIELD_PADDING = OBJECT_END + 0x89, - UNIT_END = OBJECT_END + 0x008E, + UNIT_END = OBJECT_END + 0x8A }; enum EItemFields