Crashbug: Magieregeneration fuer tote Magier

This commit is contained in:
Enno Rehling 2006-10-01 08:09:48 +00:00
parent 1162b6a795
commit 31b8b57b77
1 changed files with 1 additions and 1 deletions

View File

@ -1431,7 +1431,7 @@ regeneration_magiepunkte(void)
for (r = regions; r; r = r->next) { for (r = regions; r; r = r->next) {
for (u = r->units; u; u = u->next) { for (u = r->units; u; u = u->next) {
if (is_mage(u)) { if (u->number && is_mage(u)) {
aura = get_spellpoints(u); aura = get_spellpoints(u);
auramax = max_spellpoints(r, u); auramax = max_spellpoints(r, u);
if (aura < auramax) { if (aura < auramax) {