From 4a2dc2438c5a3067b3cb64ee0df4707fc9f56c55 Mon Sep 17 00:00:00 2001 From: NoFantasy Date: Thu, 10 Dec 2009 01:53:03 +0100 Subject: [PATCH] [8962] Check player class instead of just active pet for gossip stable option Signed-off-by: NoFantasy --- src/game/Player.cpp | 2 +- src/shared/revision_nr.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/Player.cpp b/src/game/Player.cpp index 2fa5ce06c..aeff05df8 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -12258,7 +12258,7 @@ void Player::PrepareGossipMenu(WorldObject *pSource, uint32 menuId) bCanTalk = false; break; case GOSSIP_OPTION_STABLEPET: - if (!GetPet() || GetPet()->getPetType() != HUNTER_PET) + if (getClass() != CLASS_HUNTER) bCanTalk = false; break; case GOSSIP_OPTION_GOSSIP: diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index d6a19fe60..3110b0863 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 "8961" + #define REVISION_NR "8962" #endif // __REVISION_NR_H__