diff options
| author | megamage <none@none> | 2009-06-11 00:45:59 -0500 |
|---|---|---|
| committer | megamage <none@none> | 2009-06-11 00:45:59 -0500 |
| commit | 9d670fe6f5757430d575081db9a6e5273400330d (patch) | |
| tree | 9148b75f310fda0bf082be70731abfca03e84f20 /src/game/GossipDef.cpp | |
| parent | 9c70e3d89bbace30bfabcf8c42323472ad1e4c4d (diff) | |
*Switch to support client version 3.1.3
*I strongly recommend you not to use this until you get the 313 db. Now all destructible buildings cause client crash.
Source: Mangos
Thanks to TOM_RUS for most work to make this switch possible ;)
--HG--
branch : trunk
Diffstat (limited to 'src/game/GossipDef.cpp')
| -rw-r--r-- | src/game/GossipDef.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/GossipDef.cpp b/src/game/GossipDef.cpp index 2e98e8c4e06..cd633f6ab8b 100644 --- a/src/game/GossipDef.cpp +++ b/src/game/GossipDef.cpp @@ -130,7 +130,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 (uint32 iI = 0; iI < mGossipMenu.MenuItemCount(); ++iI ) { @@ -454,6 +454,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)) { @@ -749,8 +750,7 @@ void PlayerMenu::SendQuestGiverRequestItems( Quest const *pQuest, uint64 npcGUID } } - // We may wish a better check, perhaps checking the real quest requirements - if (RequestItemsText.empty()) + if (!pQuest->GetReqItemsCount() && Completable) { SendQuestGiverOfferReward(pQuest, npcGUID, true); return; |
