Fix SE_Destroy breaking respawns

This commit is contained in:
Michael Cook (mackal) 2016-12-09 13:36:09 -05:00
parent fddb6f67ab
commit 491cabfe8b

View File

@ -2038,7 +2038,7 @@ bool Mob::SpellEffect(Mob* caster, uint16 spell_id, float partial, int level_ove
#endif #endif
if(IsNPC()) { if(IsNPC()) {
if(GetLevel() <= 52) if(GetLevel() <= 52)
CastToNPC()->Depop(); CastToNPC()->Depop(true);
else else
Message(13, "Your target is too high level to be affected by this spell."); Message(13, "Your target is too high level to be affected by this spell.");
} }