Skip to content

Commit

Permalink
Fix deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
brainiac committed Jan 5, 2024
1 parent e199435 commit 55fd96c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MQ2NetBots.cpp
Expand Up @@ -715,7 +715,7 @@ template <unsigned int _Size>PSTR MakePBUFF(CHAR(&Buffer)[_Size]) {
char tmp[20] = { 0 };
for (int b = 0; b < pPetInfoWnd->GetMaxBuffs(); b++)
{
int SpellID = pPetInfoWnd->Buff[b];
int SpellID = pPetInfoWnd->GetBuff(b);
if (SpellID > 0) {
sprintf_s(tmp, "%d:", SpellID);
strcat_s(Buffer, tmp);
Expand Down

0 comments on commit 55fd96c

Please sign in to comment.