Fix DoBuffTic crash

This commit is contained in:
Michael Cook (mackal) 2015-06-01 14:15:45 -04:00
parent 7011395d4c
commit 46dd1511af

View File

@ -3707,6 +3707,8 @@ void Mob::DoBuffTic(const Buffs_Struct &buff, int slot, Mob *caster)
// do we need to do anyting here?
}
}
if (!IsValidSpell(buff.spellid)) // if we faded we're no longer valid!
break;
}
}