tFix for warning about "attackquestiontr" being unused - vaccinewars - be a doctor and try to vaccinate the world
git clone git://src.adamsgaard.dk/vaccinewars
Log
Files
Refs
README
LICENSE
---
commit 12907924f0a34e20e73ab2747830b60c4439aacd
parent f04fe6772b528f378c3179f7652486374c86d707
Author: Ben Webb 
Date:   Mon, 25 Feb 2002 18:15:31 +0000

Fix for warning about "attackquestiontr" being unused


Diffstat:
  M src/serverside.c                    |       3 ++-

1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/src/serverside.c b/src/serverside.c
t@@ -2246,8 +2246,9 @@ void SendEvent(Player *To)
         if (IsConnectedPlayer(Play) && Play != To &&
             Play->IsAt == To->IsAt &&
             Play->EventNum == E_NONE && TotalGunsCarried(To) > 0) {
-          text = g_strdup_printf(_("AE^%s is already here!^"
+          text = g_strdup_printf(_("%s^%s is already here!^"
                                    "Do you Attack, or Evade?"),
+                                 attackquestiontr,
                                  GetPlayerName(Play));
           /* Steal this to keep track of the potential defender */
           To->OnBehalfOf = Play;