Explorar o código

Fix a queued spell crash with custom spells

image %!s(int64=3) %!d(string=hai) anos
pai
achega
a54d7a4dc2
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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);