Complete.Org: Mailing Lists: Archives: freeciv-dev: June 2004:
[Freeciv-Dev] (PR#9123) Save unit types by names
Home

[Freeciv-Dev] (PR#9123) Save unit types by names

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: mstefek@xxxxxxxxx
Subject: [Freeciv-Dev] (PR#9123) Save unit types by names
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 27 Jun 2004 09:56:53 -0700
Reply-to: rt@xxxxxxxxxxx

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

> [mstefek@xxxxxxxxx - Sun Jun 27 08:05:06 2004]:
> 
> After adding worker unit Diplomats from old savegames became nukes!!
> And generally all units are read wrong.
> 
> To avoid such problems in the future I wrote a patch which saves unit  
> types by name. Old field "type" is still supported for backward  
> compatibility.

Clever, although complicated.

But why do you have to move the attribute loading code around?

jason



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