This should fix it:
Code:
Index: spdat.cpp
===================================================================
--- spdat.cpp (revision 1621)
+++ spdat.cpp (working copy)
@@ -216,7 +216,9 @@
bool IsBeneficialSpell(int16 spell_id)
{
- // EverHood - These spells are actually detrimental
+ if(!IsValidSpell(spell_id))
+ return false;
+
if(spells[spell_id].goodEffect == 1){
SpellTargetType tt = spells[spell_id].targettype;
if(tt != ST_Self || tt != ST_Pet){
I'll commit it to the SVN later on.