From 4155a63696e5c051eb6c2271f72762e37a277925 Mon Sep 17 00:00:00 2001 From: tomrus88 Date: Sat, 28 Feb 2009 17:27:22 +0300 Subject: [PATCH] Fixed quest details packet --- src/game/GossipDef.cpp | 3 ++- src/game/Spell.cpp | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/GossipDef.cpp b/src/game/GossipDef.cpp index 8310d9e27..b1c642276 100644 --- a/src/game/GossipDef.cpp +++ b/src/game/GossipDef.cpp @@ -128,7 +128,7 @@ void PlayerMenu::SendGossipMenu( uint32 TitleTextId, uint64 npcGUID ) data << uint64(npcGUID); data << uint32(0); // new 2.4.0 data << uint32( TitleTextId ); - data << uint32( mGossipMenu.MenuItemCount() ); // max count 0x0F + data << uint32( mGossipMenu.MenuItemCount() ); // max count 0x10 for ( unsigned int iI = 0; iI < mGossipMenu.MenuItemCount(); iI++ ) { @@ -452,6 +452,7 @@ void PlayerMenu::SendQuestGiverQuestDetails( Quest const *pQuest, uint64 npcGUID data << uint32(ActivateAccept); data << uint32(pQuest->GetSuggestedPlayers()); data << uint8(0); // new wotlk + data << uint8(0); // new 3.1 if (pQuest->HasFlag(QUEST_FLAGS_HIDDEN_REWARDS)) { diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index 99b3df7b4..f40001b54 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -3141,7 +3141,6 @@ void Spell::SendLogExecute() data << uint32(0); break; case SPELL_EFFECT_OPEN_LOCK: - case SPELL_EFFECT_OPEN_LOCK_ITEM: if(Item *item = m_targets.getItemTarget()) data.append(item->GetPackGUID()); else