Astraler Ruf erforderte KONTAKTIERE von eigenen Einheiten
This commit is contained in:
Enno Rehling 2005-02-06 17:06:53 +00:00
parent 82c5077998
commit 331bba56b3
1 changed files with 1 additions and 0 deletions

View File

@ -423,6 +423,7 @@ ucontact(const unit * u, const unit * u2)
/* Prüft, ob u den Kontaktiere-Befehl zu u2 gesetzt hat. */ /* Prüft, ob u den Kontaktiere-Befehl zu u2 gesetzt hat. */
{ {
attrib *ru; attrib *ru;
if (u->faction==u2->faction) return true;
/* Explizites KONTAKTIERE */ /* Explizites KONTAKTIERE */
for (ru = a_find(u->attribs, &at_contact); ru; ru = ru->nexttype) for (ru = a_find(u->attribs, &at_contact); ru; ru = ru->nexttype)