Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2003:
[Freeciv-Dev] (PR#5431) Unecessary Global Variable in mapgen.c
Home

[Freeciv-Dev] (PR#5431) Unecessary Global Variable in mapgen.c

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#5431) Unecessary Global Variable in mapgen.c
From: "Cameron Morland" <cameron@xxxxxxxxxx>
Date: Tue, 26 Aug 2003 12:41:46 -0700
Reply-to: rt@xxxxxxxxxxxxxx

totalweight is a global variable, but there is no reason for it to be
so. And the way it is treated in mapgenerator2 is both bizarre and
useless. This patch makes the code easier to read, and is separate from
a gen2 bug I'm trying to track down.

Attachment: mapgentotalweight.diff
Description: mapgentotalweight.diff


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