Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2006:
[Freeciv-Dev] Re: (PR#19510) [Bug] diplstate type plr1 -> plr2 different
Home

[Freeciv-Dev] Re: (PR#19510) [Bug] diplstate type plr1 -> plr2 different

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] Re: (PR#19510) [Bug] diplstate type plr1 -> plr2 different from plr2 -> plr1
From: "Marko Lindqvist" <cazfi74@xxxxxxxxx>
Date: Wed, 16 Aug 2006 09:58:57 -0700
Reply-to: bugs@xxxxxxxxxxx

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

Per I. Mathisen wrote:
> 
> On Mon, 14 Aug 2006, Marko Lindqvist wrote:
>>  Problem is resolving love-love-hate in update_diplomatics(). Alliance
>> is canceled in the middle of the player iteration. Iteration has already
>> passed plr1->plr2 part, but plr2->plr1 follows. Turns_left is subtracted
>> for one party, but not for the other.
> 
> Good catch. Will this (untested) patch fix the problem?

  Yes, it works. One party no longer thinks diplomatic state to be 
armistice when other thinks it to be peace.
  I'm not particularly happy with the fact that still plr1->plr2 
turns_left != plr2->plr1 turns_left, though.


  - ML





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