fix 'ruf der realität' meldung in falscher region

This commit is contained in:
Katja Zedel 2002-03-10 11:01:31 +00:00
parent 22f2def4a7
commit 4e30efed94
1 changed files with 4 additions and 4 deletions

View File

@ -6001,14 +6001,14 @@ sp_fetchastral(castorder *co)
/* Meldungen in der Ausgangsregion */ /* Meldungen in der Ausgangsregion */
for (u2 = r->units; u2; u2 = u2->next) freset(u2->faction, FL_DH); for (u2 = ro->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 ) {
if(!fval(u2->faction, FL_DH)) { if(!fval(u2->faction, FL_DH)) {
fset(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.", sprintf(buf, "%s wird durchscheinend und verschwindet.",
unitname(u)); unitname(u));
addmessage(r, u2->faction, buf, MSG_EVENT, ML_INFO); addmessage(ro, u2->faction, buf, MSG_EVENT, ML_INFO);
} }
} }
} }