From 9dba6a6680c638fadef61b6195b8108ecef0e921 Mon Sep 17 00:00:00 2001 From: KayenEQ Date: Wed, 13 Apr 2022 11:54:11 -0400 Subject: [PATCH] [Bug Fix] Blocked spells max spell id increased (#2073) Blocked spell id should be checking int32 not int16 --- zone/client.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zone/client.h b/zone/client.h index 7142bb04b..2c8507629 100644 --- a/zone/client.h +++ b/zone/client.h @@ -1451,8 +1451,8 @@ public: void SetPendingRezzData(int XP, uint32 DBID, uint16 SpellID, const char *CorpseName) { PendingRezzXP = XP; PendingRezzDBID = DBID; PendingRezzSpellID = SpellID; PendingRezzCorpseName = CorpseName; } bool IsRezzPending() { return PendingRezzSpellID > 0; } void ClearHover(); - inline bool IsBlockedBuff(int16 SpellID) { return PlayerBlockedBuffs.find(SpellID) != PlayerBlockedBuffs.end(); } - inline bool IsBlockedPetBuff(int16 SpellID) { return PetBlockedBuffs.find(SpellID) != PetBlockedBuffs.end(); } + inline bool IsBlockedBuff(int32 SpellID) { return PlayerBlockedBuffs.find(SpellID) != PlayerBlockedBuffs.end(); } + inline bool IsBlockedPetBuff(int32 SpellID) { return PetBlockedBuffs.find(SpellID) != PetBlockedBuffs.end(); } bool IsDraggingCorpse(uint16 CorpseID); inline bool IsDraggingCorpse() { return (DraggedCorpses.size() > 0); } void DragCorpses();