Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2004:
[Freeciv-Dev] (PR#11106) error with fixed-length revolution
Home

[Freeciv-Dev] (PR#11106) error with fixed-length revolution

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#11106) error with fixed-length revolution
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 20 Nov 2004 11:00:32 -0800
Reply-to: rt@xxxxxxxxxxx

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

A simple error.

jason

Index: server/plrhand.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/server/plrhand.c,v
retrieving revision 1.338
diff -u -r1.338 plrhand.c
--- server/plrhand.c    20 Nov 2004 17:48:24 -0000      1.338
+++ server/plrhand.c    20 Nov 2004 18:59:27 -0000
@@ -915,7 +915,7 @@
   } else if (game.revolution_length == 0) {
     pplayer->revolution_finishes = game.turn + myrand(5) + 1;
   } else {
-    pplayer->revolution_finishes = game.revolution_length;
+    pplayer->revolution_finishes = game.turn + game.revolution_length;
   }
 
   freelog(LOG_DEBUG,

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#11106) error with fixed-length revolution, Jason Short <=