From c9456334d59aabec80b25ee151c3a686351ddc11 Mon Sep 17 00:00:00 2001 From: Celtic Minstrel Date: Tue, 16 Dec 2014 00:06:42 -0500 Subject: [PATCH] Fix priest spells only being castable in combat --- osx/boe.party.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/osx/boe.party.cpp b/osx/boe.party.cpp index b25f64fed..ed97b1286 100644 --- a/osx/boe.party.cpp +++ b/osx/boe.party.cpp @@ -1934,10 +1934,10 @@ void dispel_fields(short i,short j,short mode) { bool pc_can_cast_spell(short pc_num,eSkill type) { short store_w_cast; - if(type == eSkill::MAGE_SPELLS && !pc_can_cast_spell(pc_num, eSpell::LIGHT)) - return false; - if(type == eSkill::PRIEST_SPELLS && !pc_can_cast_spell(pc_num, eSpell::BLESS_MINOR)) - return false; + if(type == eSkill::MAGE_SPELLS && pc_can_cast_spell(pc_num, eSpell::LIGHT)) + return true; + if(type == eSkill::PRIEST_SPELLS && pc_can_cast_spell(pc_num, eSpell::HEAL_MINOR)) + return true; // If they can't cast the most basic level 1 spell, let's just make sure they can't cast any spells. // Find a spell they definitely know, and see if they can cast that.