Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2001:
[Freeciv-Dev] Re: Tech cost patch v6

[Freeciv-Dev] Re: Tech cost patch v6

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: rf13@xxxxxxxxxxxxxxxxxxxxxx
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Tech cost patch v6
From: Juha Litola <slave@xxxxxxxxxxxx>
Date: Thu, 29 Nov 2001 15:28:49 +0200

On Thu, Nov 29, 2001 at 02:11:34PM +0100, Raimar Falke wrote:

> Problem: where is num_reqs set to 0 (initialized)?
Hmm, it seems to be 0 when I test it, but maybe it's just good luck.

> Suggestion: at the correct places (one for the server and one for the client) 
> do:
>   for each tech:
>      tech.num_reqs=0;
>   for each tech:
>      num_req_techs(tech)
> and later doesn't use num_req_techs() anymore.
Where is the right place in client. In server it could be in
ruleset.c, but I couldn't find suitable place in client.

// Juha Litola

Attachment: pgpVi7ydj0lAy.pgp
Description: PGP signature

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