Moved buff definitions into 'spells' lookup

This commit is contained in:
Uleat committed 2019-01-20 20:04:07 -05:00
1 parent 585c6322bf
commit f690c64f9e
19 files changed
+219 -218

No files matched your search

+1 -1
View File
@@ -3646,7 +3646,7 @@ void ZoneDatabase::LoadBuffs(Client *client)
}
// We load up to the most our client supports
max_slots = EQEmu::constants::StaticLookup(client->ClientVersion())->LongBuffs;
max_slots = EQEmu::spells::StaticLookup(client->ClientVersion())->LongBuffs;
for (int index = 0; index < max_slots; ++index) {
if (!IsValidSpell(buffs[index].spellid))
continue;