[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]
<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
|
|