Complete.Org: Mailing Lists: Archives: freeciv-dev: May 1999:
[Freeciv-Dev] Period bugfix
Home

[Freeciv-Dev] Period bugfix

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxxx
Subject: [Freeciv-Dev] Period bugfix
From: Jonathan Hall <jonhall@xxxxxxxxxxxx>
Date: Sun, 30 May 1999 22:13:15 -0500 (CDT)

Well this patch fixes a bug I noticed some months ago... version 1.0k or
so.  I reported it (along with a number of other bugs) to the author.
Most, if not all, of the other bugs I mentioned at that point have been
fixed.  This one has not.  So I fixed it myself.

Bug description:

        When going over a hut and being rewarded credits, the message for
25, 50, or 100 credits are "You found 25 credits." "You found 50 credits."
and "You found 100 credits" respectively.  The bug being that there is no
period after the 100 credit message.  This patch fixes this bug.

diff -u --recursive freeciv-1.8.0/server/unithand.c 
freeciv-1.8.0.new/server/unithand.c
--- freeciv-1.8.0/server/unithand.c     Thu Mar 25 05:09:30 1999
+++ freeciv-1.8.0.new/server/unithand.c Sun May 30 21:40:34 1999
@@ -654,7 +654,7 @@
     break;
   case 4:
     notify_player_ex(pplayer, punit->x, punit->y, E_NOEVENT,
-                    "Game: You found 100 credits"); 
+                    "Game: You found 100 credits."); 
     pplayer->economic.gold+=100;
     break;
   case 5:


:-)


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  Jonathan Hall  *  jonhall@xxxxxxxxxxxx  *  PGP public key available
 Systems Admin, Future Internet Services; Goessel, KS * (316) 367-2487
         http://www.futureks.net  *  PGP Key ID: FE 00 FD 51
         -=  Running Debian GNU/Linux 2.0, kernel 2.0.36  =-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -


[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] Period bugfix, Jonathan Hall <=