<URL: http://bugs.freeciv.org/Ticket/Display.html?id=18234 >
On 7/2/06, Billy Naylor <[EMAIL PROTECTED]> wrote:
>
> The help dialogues don't show if units require a specific building,
> the building help dialog shows what units it allows tho'.
Patch
- ML
diff -Nurd -X.diff_ignore freeciv/client/helpdata.c freeciv/client/helpdata.c
--- freeciv/client/helpdata.c 2006-08-18 10:52:09.000000000 +0300
+++ freeciv/client/helpdata.c 2007-01-15 04:48:43.000000000 +0200
@@ -772,6 +772,11 @@
_(" * Gets used up in making an attack.\n"));
}
+ if (utype->impr_requirement != B_LAST) {
+ sprintf(buf + strlen(buf),
+ _("* Can only be built if there is %s.\n"),
+ get_improvement_name(utype->impr_requirement));
+ }
if (utype->gov_requirement) {
sprintf(buf + strlen(buf),
_("* Can only be built with %s as government.\n"),
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev