Browse Source

fix the HO ProcessSpell call, was causing harvest/spells to call "tick" instead of "cast"

Fix #213
Image 4 years ago
parent
commit
80eaa59564
1 changed files with 2 additions and 2 deletions
  1. 2 2
      EQ2/source/WorldServer/SpellProcess.cpp

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

@@ -1440,7 +1440,7 @@ bool SpellProcess::CastProcessedSpell(LuaSpell* spell, bool passive, bool in_her
 		}
 	}*/
 	if (!processedSpell)
-		processedSpell = ProcessSpell(spell, in_heroic_opp);
+		processedSpell = ProcessSpell(spell);
 
 	// Quick hack to prevent a crash on spells that zones the caster (Gate)
 	if (!spell->caster)
@@ -2535,4 +2535,4 @@ void SpellProcess::DeleteSpell(LuaSpell* spell)
 	}
 
 	safe_delete(spell);
-}
+}