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: Mon, 14 Aug 2006 13:17:28 -0700
Reply-to: bugs@xxxxxxxxxxx

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

Marko Lindqvist wrote:
> 
> Marko Lindqvist wrote:
>> 1: Failed sanity check: pplayer->diplstates[pplayer2->player_no].type == 
>> pplayer2->diplstates[pplayer->player_no].type 
>> (../../freeciv-patch/server/sanitycheck.c:478)
> 
>   States are armistice and peace.

  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.


  - ML





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