another TODO note for the identify spell

This commit is contained in:
2024-12-01 17:57:01 -06:00
committed by Celtic Minstrel
parent 9967100e0a
commit b1c7b9bf0b

View File

@@ -579,6 +579,7 @@ void do_mage_spell(short pc_num,eSpell spell_num,bool freebie) {
break;
case eSpell::IDENTIFY:
// TODO: Cancel without spending points if there are no unidentified items
if(!freebie)
univ.party[pc_num].cur_sp -= (*spell_num).cost;
if(!univ.scenario.is_legacy && is_town()) {