Re: (PR#10078) AIs often agress on cease fire just for one turn

"Per I. Mathisen" <per-0/[email protected]>
Newsgroups gmane.games.freeciv.ai
Message-ID <[email protected]>
<URL: http://rt.freeciv.org/Ticket/Display.html?id=10078 >

On Mon, 13 Sep 2004, Mateusz Stefek wrote:
> The reason is that ai_players_can_agree_on_ceasefire() isn't restrictive
> enough.
> This patch fixes it.
> Also change the method of calculating ai.love gravitation. Now it's
> better rounded.

-          (player1 == ai1->diplomacy.alliance_leader ||
-           !pplayers_at_war(player2, ai1->diplomacy.alliance_leader)) &&
+          ai1->diplomacy.player_intel[player2->player_no].at_war_with_ally &&

Stealth removal of the alliance leader concept??

  - Per
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.