[Bug Fix] Ensure synchronization of pet taunt state with UI (#3025)

* fix to desync between pet taunt state and button

* Update npc.h

* Update npc.cpp

* Update npc.h

---------

Co-authored-by: Alex King <89047260+Kinglykrab@users.noreply.github.com>
This commit is contained in:
catapultam-habeo
2023-03-04 10:40:29 -06:00
committed by GitHub
parent 5d7a7bb4b2
commit 2cc61ef8c1
2 changed files with 9 additions and 1 deletions
+1 -1
View File
@@ -310,7 +310,7 @@ public:
uint16 GetPetSpellID() const {return pet_spell_id;}
void SetPetSpellID(uint16 amt) {pet_spell_id = amt;}
uint32 GetMaxDamage(uint8 tlevel);
void SetTaunting(bool tog) {taunting = tog;}
void SetTaunting(bool is_taunting);
bool IsTaunting() const { return taunting; }
void PickPocket(Client* thief);
void Disarm(Client* client, int chance);