Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2005:
[Freeciv-Dev] Re: (PR#14305) Client crash on /endgame
Home

[Freeciv-Dev] Re: (PR#14305) Client crash on /endgame

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: per@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#14305) Client crash on /endgame
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 5 Dec 2005 20:43:48 -0800
Reply-to: bugs@xxxxxxxxxxx

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

Mike Kaufman wrote:
> <URL: http://bugs.freeciv.org/Ticket/Display.html?id=14305 >
> 
> a proposed fix for the fix.

Background:

<kauf> apply your patch
...
<kauf> well, your patch is wrong
<kauf> it'll certainly trip the assert(0) at the end of the function
...
<kauf> you make the assumption that nothing in end_turn() ends the game
...
<jdorje> but your patch also makes that assumption
<jdorje> because if something in end_turn ends the game, the second 
break would be hit and the thaw wouldn't be done
...
<kauf> I think end_phase can safely be done even if the game is already over

so I agree this new fix is correct.

-jason





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