Complete.Org: Mailing Lists: Archives: freeciv-dev: April 2005:
[Freeciv-Dev] Re: (PR#12852) Major bug: AI ignores skill-level directive
Home

[Freeciv-Dev] Re: (PR#12852) Major bug: AI ignores skill-level directive

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: jdorje@xxxxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#12852) Major bug: AI ignores skill-level directives
From: "Per I. Mathisen" <per@xxxxxxxxxxx>
Date: Wed, 20 Apr 2005 02:21:56 -0700
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=12852 >

On Tue, 19 Apr 2005, Jason Short wrote:
> This patch should fix it, more or less.A better fix may be possible.

-    int want = pcity->ai.settler_want;
+    int want = pcity->ai.settler_want * pplayer->ai.expand;

Surely it should be:

+    int want = pcity->ai.settler_want * pplayer->ai.expand / 100;

  - Per





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