[Freeciv-Dev] Re: The missing patch
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Wed, Nov 14, 2001 at 02:51:54AM +0100, mateusz stefek wrote:
> >> For ai cross-country-rail
> >> + /* if we don't want to build a city,
> >> + * build the railroad
> >> + */
> >
> >> + if (pplayer->ai.control && best_act != ACTIVITY_UNKNOWN)
> >
> >What do you think about:
> >
> > if (pplayer->ai.control && unit_flag(punit, F_SETTLERS) && best_act ==
> >ACTIVITY_IDLE && gx==-1 and gy==-1)
>
> why should I check if *punit is settler?
Yes, you are correct. This isn't needed.
Can you submit the patch through the tracking system
<http://www.freeciv.org/cgi-bin/bugs>?
Raimar
--
email: rf13@xxxxxxxxxxxxxxxxx
"Python 2.0 beta 1 is now available [...]. There is a long list of new
features since Python 1.6, released earlier today. We don't plan on
any new releases in the next 24 hours."
-- Jeremy Hylton at Slashdot
|
|