Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2004:
[Freeciv-Dev] Freeciv-Dev] (PR#9193) Save worklists and city production
Home

[Freeciv-Dev] Freeciv-Dev] (PR#9193) Save worklists and city production

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] Freeciv-Dev] (PR#9193) Save worklists and city production by name
From: "Mateusz Stefek" <mstefek@xxxxxxxxx>
Date: Fri, 16 Jul 2004 02:19:57 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=9193 >

> 
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=9193 >
> 
> > With attached patch worklists and city productions are no more
> > dependent on the order in which improvements or units are read from
> > ruleset.
> >
> > You have to use Jason's version of patch in #9123 first.
> Already in CVS
> 
> > I changed old_type_id(struct unit* punit) into old_unit_type_id
> > (Unit_Type_id)
> > and moved the code before worklist_load.
> 
> this version uses mystrcasecmp instead of strcmp in some places and
> handles city.changed_from_id field
There's a bug in the code which saves changed_from_id.
Fix attached.
--
mateusz




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