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]
To: himasaram@xxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#13621) AI bug (savegame)
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 17 Aug 2005 09:10:50 -0700
Reply-to: bugs@xxxxxxxxxxx

<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





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