From d54d1c4d3243a212367ac18fed7debca0fc2b584 Mon Sep 17 00:00:00 2001 From: NoFantasy Date: Thu, 17 Dec 2009 22:35:22 +0100 Subject: [PATCH] [9017] Fix typo in GO gossipID check for type 10 Signed-off-by: NoFantasy --- src/game/GameObject.cpp | 5 ++--- src/shared/revision_nr.h | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/game/GameObject.cpp b/src/game/GameObject.cpp index e8aa32b6782..fa5ada1aa13 100644 --- a/src/game/GameObject.cpp +++ b/src/game/GameObject.cpp @@ -951,14 +951,13 @@ void GameObject::Use(Unit* user) { Player* player = (Player*)user; - // show page - if (info->goober.pageId) + if (info->goober.pageId) // show page... { WorldPacket data(SMSG_GAMEOBJECT_PAGETEXT, 8); data << GetGUID(); player->GetSession()->SendPacket(&data); } - else if (info->questgiver.gossipID) + else if (info->goober.gossipID) // ...or gossip, if page does not exist { player->PrepareGossipMenu(this, info->goober.gossipID); player->SendPreparedGossip(this); diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index b0b1ae1920d..cc0ad5ed155 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "9016" + #define REVISION_NR "9017" #endif // __REVISION_NR_H__