From 9807f1bd17045e6663a5a7d8a18606da27231988 Mon Sep 17 00:00:00 2001 From: johns <> Date: Wed, 13 Mar 2002 22:30:27 +0000 Subject: [PATCH] IsAllied, didn't detect own units as allied. FIXME added. --- src/ui/mouse.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ui/mouse.cpp b/src/ui/mouse.cpp index f50317e0a..ccd796811 100644 --- a/src/ui/mouse.cpp +++ b/src/ui/mouse.cpp @@ -273,6 +273,7 @@ global void DoRightButton (int sx,int sy) dest=UnitOnScreenMapPosition (sx,sy); if( dest ) { + // FIXME: should ally to self if( (dest->Player==ThisPlayer || IsAllied(ThisPlayer,dest)) && dest!=unit ) { dest->Blink=3;