From 0c47aab8a2f77588513d5d8f3fb353662dab5fb2 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sun, 11 May 2008 21:50:26 +0000 Subject: [PATCH] http://eressea.upb.de/mantis/view.php?id=1421 - combatspells with level 0 are lost --- src/common/kernel/magic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/kernel/magic.c b/src/common/kernel/magic.c index 9abe65203..7f58b0b20 100644 --- a/src/common/kernel/magic.c +++ b/src/common/kernel/magic.c @@ -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;