Complete.Org: Mailing Lists: Archives: freeciv-dev: April 2005:
[Freeciv-Dev] (PR#12223) city has changed multiple times (CMA detaches)
Home

[Freeciv-Dev] (PR#12223) city has changed multiple times (CMA detaches)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: chrisk@xxxxxxxxx, nicolau.saldanha@xxxxxxxxx
Cc: bh@xxxxxxxxxxxxx
Subject: [Freeciv-Dev] (PR#12223) city has changed multiple times (CMA detaches)
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 26 Apr 2005 19:45:37 -0700
Reply-to: bugs@xxxxxxxxxxx

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

> [bhudson - Tue Apr 26 20:25:21 2005]:
> 
> > [jdorje - Mon Apr 25 06:46:14 2005]:
> > Ah hah.  There is a bug in the agents causing them to be run any time
> > there's a thaw, regardless of the game state.  With this patch:
> 
> > 2.  When the game starts all agents will be run (since they won't have
> > been run during the preceeding thaw).
> 
> I don't understand the freeze/thaw agents mechanism,

The only thing I know about it is it's a bugprone design.

> but my gut
> reaction is that really we should freeze at the outset, and thaw
> on game start, rather than implementing another layer of a
> freeze/thaw mechanism.  But generally this looks like a better
> fix than mine.

That could work too.  Except the game state may change in lots of places
so I think it would be very tricky.

-jason




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