From 331bba56b369d409040f96af29c0b2ef27970c61 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sun, 6 Feb 2005 17:06:53 +0000 Subject: [PATCH] http://eressea.upb.de/mantis/view.php?id=381 Astraler Ruf erforderte KONTAKTIERE von eigenen Einheiten --- src/common/kernel/unit.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/common/kernel/unit.c b/src/common/kernel/unit.c index 4cf64c865..53c5c0ff3 100644 --- a/src/common/kernel/unit.c +++ b/src/common/kernel/unit.c @@ -423,6 +423,7 @@ ucontact(const unit * u, const unit * u2) /* Prüft, ob u den Kontaktiere-Befehl zu u2 gesetzt hat. */ { attrib *ru; + if (u->faction==u2->faction) return true; /* Explizites KONTAKTIERE */ for (ru = a_find(u->attribs, &at_contact); ru; ru = ru->nexttype)