Sfoglia il codice sorgente

Fix a queued spell crash with custom spells

image 3 anni fa
parent
commit
a54d7a4dc2
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      EQ2/source/WorldServer/SpellProcess.cpp

+ 2 - 0
EQ2/source/WorldServer/SpellProcess.cpp

@@ -2443,6 +2443,8 @@ void SpellProcess::AddSpellCancel(LuaSpell* spell){
 
 void SpellProcess::DeleteSpell(LuaSpell* spell)
 {
+	RemoveSpellFromQueue(spell->spell, spell->caster);
+
 	if (spell->spell->IsCopiedSpell())
 		safe_delete(spell->spell);