From 4e30efed94a7bf35017490cb9d4bce56b4a16cf9 Mon Sep 17 00:00:00 2001 From: Katja Zedel Date: Sun, 10 Mar 2002 11:01:31 +0000 Subject: [PATCH] =?UTF-8?q?fix=20'ruf=20der=20realit=C3=A4t'=20meldung=20i?= =?UTF-8?q?n=20falscher=20region?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/common/kernel/spell.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/common/kernel/spell.c b/src/common/kernel/spell.c index 7b5f9f890..397d4c44d 100644 --- a/src/common/kernel/spell.c +++ b/src/common/kernel/spell.c @@ -6001,14 +6001,14 @@ sp_fetchastral(castorder *co) /* Meldungen in der Ausgangsregion */ - for (u2 = r->units; u2; u2 = u2->next) freset(u2->faction, FL_DH); - for(u2 = r->units; u2; u2 = u2->next ) { + for (u2 = ro->units; u2; u2 = u2->next) freset(u2->faction, FL_DH); + for(u2 = ro->units; u2; u2 = u2->next ) { if(!fval(u2->faction, FL_DH)) { fset(u2->faction, FL_DH); - if(cansee(u2->faction, r, u, 0)) { + if(cansee(u2->faction, ro, u, 0)) { sprintf(buf, "%s wird durchscheinend und verschwindet.", unitname(u)); - addmessage(r, u2->faction, buf, MSG_EVENT, ML_INFO); + addmessage(ro, u2->faction, buf, MSG_EVENT, ML_INFO); } } }