Fix crash

This commit is contained in:
Michael Cook (mackal)
2017-01-26 18:04:59 -05:00
parent 36300d6df1
commit cdf0d5deb0
3 changed files with 6 additions and 1 deletions
+2
View File
@@ -5565,6 +5565,7 @@ void Client::InitializeBuffSlots()
for(int x = 0; x < max_slots; ++x)
{
buffs[x].spellid = SPELL_UNKNOWN;
buffs[x].UpdateClient = false;
}
current_buff_count = 0;
}
@@ -5581,6 +5582,7 @@ void NPC::InitializeBuffSlots()
for(int x = 0; x < max_slots; ++x)
{
buffs[x].spellid = SPELL_UNKNOWN;
buffs[x].UpdateClient = false;
}
current_buff_count = 0;
}