[Freeciv-Dev] Re: (PR#13188) cvs error
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://bugs.freeciv.org/Ticket/Display.html?id=13188 >
Op zondag 05 juni 2005 10:14, schreef Per I. Mathisen:
> <URL: http://bugs.freeciv.org/Ticket/Display.html?id=13188 >
>
> On Sun, 5 Jun 2005, Marcel Edward Verhagen wrote:
> > This error only occurs when playing with modified rulesets.
> >
> > I have created a little path wich adds an if() to prevent the assert()
> > when worker+specialist == pcity->size is false
>
> But this should never be false, no matter how you modify rulesets. This
> would just hide the bug.
>
> - Per
I do not known wich modification of the rulesets influence then city manager
(cma).
The citymanager places the workers around the city and names the specialist,
but somehow freeciv gives an error when the mayor is changed. And stops.
It isn´t possible either to change the workers manually with the mouse.
Adding the if seems to fix this, the mayor can be changed and the workers can
be replaced manually.
So I think this patch works around the bug.
But I do not know how there can be more or less workers and specialists in th
e city than there are citizens in the city.
|
|