mirror of
https://github.com/EQEmu/Server.git
synced 2026-02-20 12:42:26 +00:00
Quick fix to allow dev work to still happen on npc spells
This will allow a bit of overhead while developing NPC spell sets
This commit is contained in:
parent
7bd5213be4
commit
5d9c8c8e27
@ -2669,7 +2669,7 @@ DBnpcspells_Struct* ZoneDatabase::GetNPCSpells(uint32 iDBSpellsID) {
|
||||
return nullptr;
|
||||
|
||||
if (!npc_spells_cache) {
|
||||
npc_spells_maxid = GetMaxNPCSpellsID();
|
||||
npc_spells_maxid = GetMaxNPCSpellsID() + 50; // TODO: make this better, shitfix to allow dev work
|
||||
npc_spells_cache = new DBnpcspells_Struct*[npc_spells_maxid+1];
|
||||
npc_spells_loadtried = new bool[npc_spells_maxid+1];
|
||||
for (uint32 i=0; i<=npc_spells_maxid; i++) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user