[8962] Check player class instead of just active pet for gossip stable option

Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
NoFantasy 2009-12-10 01:53:03 +01:00
parent 6f083e0c31
commit 4a2dc2438c
2 changed files with 2 additions and 2 deletions

View file

@ -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: