Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2004:
[Freeciv-Dev] Re: (PR#11317) Beta4 crashes on SPARC/Solaris
Home

[Freeciv-Dev] Re: (PR#11317) Beta4 crashes on SPARC/Solaris

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: muehlber@xxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#11317) Beta4 crashes on SPARC/Solaris
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 3 Dec 2004 11:00:13 -0800
Reply-to: rt@xxxxxxxxxxx

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

Here's the right patch.

-jason


? server/generator/output
Index: server/plrhand.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/server/plrhand.c,v
retrieving revision 1.330.2.10
diff -u -r1.330.2.10 plrhand.c
--- server/plrhand.c    28 Nov 2004 16:01:51 -0000      1.330.2.10
+++ server/plrhand.c    3 Dec 2004 18:58:03 -0000
@@ -648,7 +648,8 @@
 
 void choose_tech_goal(struct player *plr, int tech)
 {
-  notify_player(plr, _("Game: Technology goal is %s."), advances[tech].name);
+  notify_player(plr, _("Game: Technology goal is %s."),
+               get_tech_name(plr, tech));
   plr->ai.tech_goal = tech;
 }
 

[Prev in Thread] Current Thread [Next in Thread]