Skip to content

Commit

Permalink
Deprecation warning fix
Browse files Browse the repository at this point in the history
  • Loading branch information
brainiac committed Jan 5, 2024
1 parent 71f8f70 commit 4bab96f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MQ2Debuffs.cpp
Expand Up @@ -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; b<MAXBUFF_WARDER; b++) {
if(PSPELL spell = GetSpellByID(pPetInfoWnd->Buff[b]))
if(PSPELL spell = GetSpellByID(pPetInfoWnd->GetBuff(b)))
if(spell->DurationCap>0) {
((spell->SpellType)?bList[bSize++]:dList[dSize++])=spell;
aList[aSize++]=spell;
Expand Down

0 comments on commit 4bab96f

Please sign in to comment.