Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2003:
[Freeciv-Dev] (PR#5074) Diplomats can't go on ennemy tiles
Home

[Freeciv-Dev] (PR#5074) Diplomats can't go on ennemy tiles

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: remi.bonnet@xxxxxxxxxxx
Subject: [Freeciv-Dev] (PR#5074) Diplomats can't go on ennemy tiles
From: "Guest" <rt-guest@xxxxxxxxxxxxxx>
Date: Wed, 13 Aug 2003 06:25:40 -0700
Reply-to: rt@xxxxxxxxxxxxxx

Bug found at CVS 12/08/03

Diplomats can't go on ennemy tiles because they are treated as peaceful
units by goto. This patch give to the diplomats the same behaviour as
for agressive units. 

I also fix a potential issue in unit.c. With the previous code, if a spy
can't poisonate but can't sabotate but can bribe, a request to
is_diplomat_action_available will return FALSE. This can't happen with
the current code but it is a potential bug

Attachment: goto-dipl1.diff
Description: goto-dipl1.diff


[Prev in Thread] Current Thread [Next in Thread]