[Freeciv-Dev] Re: (PR#6790) Expel enemy units
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<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
|
|