Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2003:
[Freeciv-Dev] Re: (PR#6790) Expel enemy units
Home

[Freeciv-Dev] Re: (PR#6790) Expel enemy units

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: i-freeciv-lists@xxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#6790) Expel enemy units
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 7 Nov 2003 11:02:17 -0800
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=6790 >

Raimar Falke wrote:

> I have tracked this down to
>   pplayers_allied(unit_owner(punit), pplayer)
> in can_player_see_unit_at(). IMHO it has to be changed to
>   pplayers_allied(city_owner(pcity), pplayer)
> since we want to test if the player can look inside the given city.
> 
> The attacked patch changes this.

I'd like to add a can_player_see_inside_city() function.  It could be a 
separate patch.

jason




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