mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07: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;
|
bCanTalk = false;
|
||||||
break;
|
break;
|
||||||
case GOSSIP_OPTION_STABLEPET:
|
case GOSSIP_OPTION_STABLEPET:
|
||||||
if (!GetPet() || GetPet()->getPetType() != HUNTER_PET)
|
if (getClass() != CLASS_HUNTER)
|
||||||
bCanTalk = false;
|
bCanTalk = false;
|
||||||
break;
|
break;
|
||||||
case GOSSIP_OPTION_GOSSIP:
|
case GOSSIP_OPTION_GOSSIP:
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "8961"
|
#define REVISION_NR "8962"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue