[Freeciv-Dev] (PR#12997) [PATCH] Fix UnitFlag requirement bug
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: |
[Freeciv-Dev] (PR#12997) [PATCH] Fix UnitFlag requirement bug |
From: |
"Vasco Alexandre da Silva Costa" <vasc@xxxxxxxxxxxxxx> |
Date: |
Fri, 6 May 2005 17:08:37 -0700 |
Reply-to: |
bugs@xxxxxxxxxxx |
<URL: http://bugs.freeciv.org/Ticket/Display.html?id=12997 >
Gotta remember to make clean; make next time...
Index: client/helpdata.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/helpdata.c,v
retrieving revision 1.111
diff -u -u -r1.111 helpdata.c
--- client/helpdata.c 6 May 2005 16:01:42 -0000 1.111
+++ client/helpdata.c 7 May 2005 00:07:07 -0000
@@ -190,6 +190,10 @@
cat_snprintf(buf, bufsz, _("Only applies to %s units.\n\n"),
unit_name(req->source.value.unittype));
return;
+ case REQ_UNITFLAG:
+ cat_snprintf(buf, bufsz, _("Only applies to %s units.\n\n"),
+ get_unit_flag_name(req->source.value.unitflag));
+ return;
case REQ_MINSIZE:
cat_snprintf(buf, bufsz, _("Requires a minimum size of %d.\n\n"),
req->source.value.minsize);
|
|