From 31b8b57b77b60a31f8c78e756855207001d02bd6 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sun, 1 Oct 2006 08:09:48 +0000 Subject: [PATCH] Crashbug: Magieregeneration fuer tote Magier --- 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 e8af0c7a2..b5ce877ed 100644 --- a/src/common/kernel/magic.c +++ b/src/common/kernel/magic.c @@ -1431,7 +1431,7 @@ regeneration_magiepunkte(void) for (r = regions; r; r = r->next) { for (u = r->units; u; u = u->next) { - if (is_mage(u)) { + if (u->number && is_mage(u)) { aura = get_spellpoints(u); auramax = max_spellpoints(r, u); if (aura < auramax) {