mirror of
https://github.com/EQEmu/Server.git
synced 2026-01-15 01:43:53 +00:00
Command #repop will clear NPC spell cache now
This commit is contained in:
parent
2ed185aa2c
commit
85bafecc93
@ -1437,6 +1437,9 @@ bool Zone::Depop(bool StartSpawnTimer) {
|
||||
npctable.erase(itr);
|
||||
}
|
||||
|
||||
// clear spell cache
|
||||
database.ClearNPCSpells();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
@ -427,6 +427,7 @@ public:
|
||||
|
||||
DBnpcspells_Struct* GetNPCSpells(uint32 iDBSpellsID);
|
||||
DBnpcspellseffects_Struct* GetNPCSpellsEffects(uint32 iDBSpellsEffectsID);
|
||||
void ClearNPCSpells() { npc_spells_cache.clear(); npc_spells_loadtried.clear(); }
|
||||
const NPCType* LoadNPCTypesData(uint32 id, bool bulk_load = false);
|
||||
|
||||
/* Mercs */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user