From 4bab96f1ae0fe777141fa2be4372e9b1b21924df Mon Sep 17 00:00:00 2001 From: brainiac Date: Fri, 5 Jan 2024 12:36:10 -0800 Subject: [PATCH] Deprecation warning fix --- MQ2Debuffs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MQ2Debuffs.cpp b/MQ2Debuffs.cpp index 7b913cf..fb50e66 100644 --- a/MQ2Debuffs.cpp +++ b/MQ2Debuffs.cpp @@ -317,7 +317,7 @@ class MQ2DebuffType : public MQ2Type { if(!_stricmp(Index,"pet") || !_stricmp(Index,"warder")) { if(pPetInfoWnd && GetCharInfo() && GetCharInfo()->pSpawn && GetCharInfo()->pSpawn->PetID>0) { for(int b=0; bBuff[b])) + if(PSPELL spell = GetSpellByID(pPetInfoWnd->GetBuff(b))) if(spell->DurationCap>0) { ((spell->SpellType)?bList[bSize++]:dList[dSize++])=spell; aList[aSize++]=spell;