Fix crash

This commit is contained in:
Michael Cook (mackal) committed 2017-01-26 18:04:59 -05:00
1 parent 36300d6df1
commit cdf0d5deb0
3 files changed
+6 -1

No files matched your search

+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;
}