forked from github/server
- combatspells with level 0 are lost
This commit is contained in:
parent
0af00c10ec
commit
0c47aab8a2
1 changed files with 1 additions and 1 deletions
|
@ -229,7 +229,7 @@ read_mage(attrib * a, struct storage * store)
|
||||||
sp = find_spell(mage->magietyp, spname);
|
sp = find_spell(mage->magietyp, spname);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (sp && level>0) {
|
if (sp && level>=0) {
|
||||||
int slot = -1;
|
int slot = -1;
|
||||||
if (sp->sptyp & PRECOMBATSPELL) slot = 0;
|
if (sp->sptyp & PRECOMBATSPELL) slot = 0;
|
||||||
else if (sp->sptyp & COMBATSPELL) slot = 1;
|
else if (sp->sptyp & COMBATSPELL) slot = 1;
|
||||||
|
|
Loading…
Reference in a new issue