Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2001:
[Freeciv-Dev] Re: The missing patch
Home

[Freeciv-Dev] Re: The missing patch

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: mateusz stefek <matusik_s@xxxxx>
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: The missing patch
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 15 Nov 2001 09:59:11 +0100
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxx

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


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