Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2002:
[Freeciv-Dev] Re: [RFC] Behaviour of units in eXplore mode near cities
Home

[Freeciv-Dev] Re: [RFC] Behaviour of units in eXplore mode near cities

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: rf13@xxxxxxxxxxxxxxxxxxxxxx
Cc: Petr Baudis <pasky@xxxxxxxxxxx>, freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: [RFC] Behaviour of units in eXplore mode near cities
From: Gregory Berkolaiko <gberkolaiko@xxxxxxxxxxx>
Date: Mon, 18 Feb 2002 12:33:22 +0000 (GMT)

 --- Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx> wrote: 
> On Sun, Feb 17, 2002 at 09:29:23PM +0000, Gregory Berkolaiko wrote:
> >
> > yep, you are right.
> > than nobody should go to cities while exploring (explorers shouldn't
> attack,
> > right?)
> 
> We could expand the test to
>   if (map_get_city(x1, y1) && (unit_flag(punit, F_DIPLOMAT) ||
>                                unit_flag(punit, F_CARAVAN)) ||
>                                is_military_unit(punit))

which leaves us whom?  explorers?  can they go into cities?  no.

btw, what is the reason for "notify" in
320         if (!can_unit_move_to_tile_with_notify(punit, x1, y1, 0))
321           continue;
??
I don't think it should be there: player should not be notified if we cannot
move into tile which is only _considered_.

G.


__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com


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