Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2003:
[Freeciv-Dev] small CM-in-server bug
Home

[Freeciv-Dev] small CM-in-server bug

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] small CM-in-server bug
From: "Per I. Mathisen" <per@xxxxxxxxxxx>
Date: Fri, 21 Nov 2003 21:06:30 +0000 (GMT)

A few lines above we correctly set the worst food case to -(foodbox size).
Then we regress into bugland for the worst city case scenario. Committed.

  - Per

Index: server/cityturn.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/server/cityturn.c,v
retrieving revision 1.231
diff -u -r1.231 cityturn.c
--- server/cityturn.c   13 Nov 2003 20:11:31 -0000      1.231
+++ server/cityturn.c   21 Nov 2003 21:04:42 -0000
@@ -221,7 +221,6 @@

       if (!cmr.found_a_valid) {
        CITY_LOG(LOG_DEBUG, pcity, "emergency management");
-       cmp.minimal_surplus[FOOD] = -20;
        cmp.minimal_surplus[SHIELD] = -20;
        cmp.minimal_surplus[LUXURY] = -20;
        cmp.minimal_surplus[SCIENCE] = -20;




[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] small CM-in-server bug, Per I. Mathisen <=