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

[Freeciv-Dev] (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] (PR#6790) Expel enemy units
From: "Gregory Berkolaiko" <Gregory.Berkolaiko@xxxxxxxxxxxx>
Date: Sat, 8 Nov 2003 10:57:25 -0800
Reply-to: rt@xxxxxxxxxxx

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

> [jdorje - Fri Nov 07 19:02:16 2003]:
> 
> 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.

Yeah, because we cannot see in cities of all allies, right.  We need
shared vision.

G.


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