Complete.Org: Mailing Lists: Archives: freeciv-dev: February 1999:
Re: [Freeciv-Dev] new kludge cleanup patch
Home

Re: [Freeciv-Dev] new kludge cleanup patch

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: Re: [Freeciv-Dev] new kludge cleanup patch
From: David Pfitzner <dwp@xxxxxxxxxxxxxx>
Date: Thu, 4 Feb 1999 21:25:53 +1100

Trent Piepho wrote:
> 
> Why not move the city_id code to common as it is now.  Add a line to
> find_city_by_id(), that checks for citycachesize!=0. 

Yeah, that would be a better solution, and looks ok to me.

Note that the dealloc_id() kludge is separate, but could be
fixed by doing similar with the used_ids array and related 
functions in civserver.c

(Though it would seem to me that it _shouldn't_ be separate, and
that these two areas should be able to be merged.  But that would 
require more extensive work.)

-- David


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