diff --git a/src/game/boe.party.cpp b/src/game/boe.party.cpp index 2e90c290..c5744524 100644 --- a/src/game/boe.party.cpp +++ b/src/game/boe.party.cpp @@ -1572,6 +1572,7 @@ bool pc_can_cast_spell(const cPlayer& pc,eSkill type) { } bool pc_can_cast_spell(const cPlayer& pc,eSpell spell_num) { + if(spell_num == eSpell::NONE) return false; short level,store_w_cast; eSkill type = (*spell_num).type;