Complete.Org: Mailing Lists: Archives: freeciv-dev: October 2004:
[Freeciv-Dev] (PR#10545) Fix, alltemperate too many arctic
Home

[Freeciv-Dev] (PR#10545) Fix, alltemperate too many arctic

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#10545) Fix, alltemperate too many arctic
From: "Marcelo Burda" <mburda@xxxxxxxxx>
Date: Fri, 15 Oct 2004 12:32:22 -0700
Reply-to: rt@xxxxxxxxxxx

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

this fix, is extracted from a another patch, but i separe it to be used
for the 2.0.0

Marcelo
? server/.kdbgrc.civserver
Index: server/generator/temperature_map.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/server/generator/temperature_map.c,v
retrieving revision 1.3
diff -u -r1.3 temperature_map.c
--- server/generator/temperature_map.c  29 Sep 2004 02:24:24 -0000      1.3
+++ server/generator/temperature_map.c  15 Oct 2004 19:29:18 -0000
@@ -103,7 +103,9 @@
   /* Notice: if colatitude is load from a scenario never call adjust has
              scenario maybe has a odd colatitude ditribution and adjust will
             brack it */
-  adjust_int_map(temperature_map, MAX_COLATITUDE);
+  if (!map.alltemperate) {
+    adjust_int_map(temperature_map, MAX_COLATITUDE);
+  }
   /* now simplify to 4 base values */ 
   for (i = 0; i < MAX_MAP_INDEX; i++) {
     int t = temperature_map[i];

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#10545) Fix, alltemperate too many arctic, Marcelo Burda <=