- combatspells with level 0 are lost
This commit is contained in:
Enno Rehling 2008-05-11 21:50:26 +00:00
parent 0af00c10ec
commit 0c47aab8a2
1 changed files with 1 additions and 1 deletions

View File

@ -229,7 +229,7 @@ read_mage(attrib * a, struct storage * store)
sp = find_spell(mage->magietyp, spname);
}
}
if (sp && level>0) {
if (sp && level>=0) {
int slot = -1;
if (sp->sptyp & PRECOMBATSPELL) slot = 0;
else if (sp->sptyp & COMBATSPELL) slot = 1;