From 82c507799861f2d181b15b7fec3152f4b6cf94ec Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sun, 6 Feb 2005 14:07:37 +0000 Subject: [PATCH] =?UTF-8?q?http://eressea.upb.de/mantis/view.php=3Fid=3D38?= =?UTF-8?q?0=20=20HELFE=20GIB=20klappt=20nicht=20bei=20Item-=C3=9Cbergaben?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/common/gamecode/economy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/gamecode/economy.c b/src/common/gamecode/economy.c index 87680ebb7..5218d2f53 100644 --- a/src/common/gamecode/economy.c +++ b/src/common/gamecode/economy.c @@ -429,7 +429,7 @@ give_cmd(unit * u, order * ord) } /* Damit Tarner nicht durch die Fehlermeldung enttarnt werden können */ - if (u2 && (!cansee(u->faction,r,u2,0) && !ucontact(u2, u) && !fval(u2, UFL_TAKEALL))) { + if (u2 && !alliedunit(u2, u->faction, HELP_GIVE) && !cansee(u->faction,r,u2,0) && !ucontact(u2, u) && !fval(u2, UFL_TAKEALL)) { cmistake(u, ord, notfound_error, MSG_COMMERCE); return; }