mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
[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:
parent
6f083e0c31
commit
4a2dc2438c
2 changed files with 2 additions and 2 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue