Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2004:
[Freeciv-Dev] Re: (PR#11642) gamelog bugs
Home

[Freeciv-Dev] Re: (PR#11642) gamelog bugs

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: paul@xxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#11642) gamelog bugs
From: "Mike Kaufman" <kaufman@xxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 21 Dec 2004 14:57:30 -0800
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=11642 >

patch.

-mike

Index: server/cityturn.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/server/cityturn.c,v
retrieving revision 1.267.2.9
diff -u -r1.267.2.9 cityturn.c
--- server/cityturn.c   17 Dec 2004 19:13:51 -0000      1.267.2.9
+++ server/cityturn.c   21 Dec 2004 22:55:16 -0000
@@ -575,7 +575,7 @@
                         _("Game: Famine feared in %s, %s lost!"), 
                         pcity->name, unit_type(punit)->name);
  
-        gamelog(GAMELOG_UNITLOSS, punit, NULL, "%s lose %s (famine)");
+        gamelog(GAMELOG_UNITLOSS, punit, NULL, "famine");
         wipe_unit(punit);
 
        pcity->food_stock = (city_granary_size(pcity->size)
Index: server/diplomats.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/server/diplomats.c,v
retrieving revision 1.61.2.4
diff -u -r1.61.2.4 diplomats.c
--- server/diplomats.c  9 Dec 2004 16:28:10 -0000       1.61.2.4
+++ server/diplomats.c  21 Dec 2004 22:55:16 -0000
@@ -695,7 +695,7 @@
            get_tech_name(cplayer, target));
   }
 
-  gamelog(GAMELOG_TECH, pplayer, cplayer, target, "steals");
+  gamelog(GAMELOG_TECH, pplayer, cplayer, target, "steal");
 
   /* Update stealing player's science progress and research fields */
   send_player_info(pplayer, pplayer);
Index: server/plrhand.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/server/plrhand.c,v
retrieving revision 1.330.2.14
diff -u -r1.330.2.14 plrhand.c
--- server/plrhand.c    16 Dec 2004 00:37:51 -0000      1.330.2.14
+++ server/plrhand.c    21 Dec 2004 22:55:18 -0000
@@ -153,7 +153,7 @@
        notify_player_ex(pplayer, NULL, E_TECH_GAIN,
                         _("Game: %s acquired from %s!"),
                         get_tech_name(pplayer, i), buf);
-        gamelog(GAMELOG_TECH, pplayer, NULL, i, "steals");
+        gamelog(GAMELOG_TECH, pplayer, NULL, i, "steal");
        notify_embassies(pplayer, NULL,
                         _("Game: The %s have acquired %s from %s."),
                         get_nation_name_plural(pplayer->nation),
@@ -733,7 +733,7 @@
     } tech_type_iterate_end;
     assert(stolen_tech != A_NONE);
   }
-  gamelog(GAMELOG_TECH, pplayer, target, stolen_tech, "steals");
+  gamelog(GAMELOG_TECH, pplayer, target, stolen_tech, "steal");
 
   notify_player_ex(pplayer, NULL, E_TECH_GAIN,
                   _("Game: You steal %s from the %s."),

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] Re: (PR#11642) gamelog bugs, Mike Kaufman <=