Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2005:
[Freeciv-Dev] Re: (PR#13621) AI bug (savegame)
Home

[Freeciv-Dev] Re: (PR#13621) AI bug (savegame)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] Re: (PR#13621) AI bug (savegame)
From: "Daniel Markstedt" <himasaram@xxxxxxxx>
Date: Wed, 17 Aug 2005 12:04:04 -0700
Reply-to: bugs@xxxxxxxxxxx

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

Jason Short wrote:

><URL: http://bugs.freeciv.org/Ticket/Display.html?id=13621 >
>
>Mateusz Stefek wrote:
>
>  
>
>>>I've debugged this savegame (the settlers unit id is 897) and find out
>>>the code which is responsible for the problem:
>>>
>>>aisettler.c:489
>>>
>>>   if (game.info.borders > 0
>>>       && ptile->owner != NULL
>>>       && ptile->owner != pplayer
>>>       && pplayers_in_peace(ptile->owner, pplayer)) {
>>>     /* Land theft does not make for good neighbours. */
>>>     continue;
>>>   }
>>>
>>>So this doeasn't work for neutral players, which is the case in this
>>>savegame.
>>>      
>>>
>
>But that's not a bug, that's the intended behavior...
>
>-jason
>

I was annoyed at the fact that signing a peace treaty didn't have 
instant effect on the settler-invasion of my land. If this patch 
addresses this behaviour I think it's a change for the better.

Daniel





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