<URL: http://bugs.freeciv.org/Ticket/Display.html?id=18234 >
On 1/16/07, Marko Lindqvist <[EMAIL PROTECTED]> wrote:
>
> On 1/15/07, Marko Lindqvist <[EMAIL PROTECTED]> wrote:
> >
> > 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
>
> Text reprhrased, since it turns out that requirement building always
> has to be in the same city - wonder in other city is not enough.
S2_1 version
- ML
diff -Nurd -X.diff_ignore freeciv/client/helpdata.c freeciv/client/helpdata.c
--- freeciv/client/helpdata.c 2006-08-18 10:56:53.000000000 +0300
+++ freeciv/client/helpdata.c 2007-01-17 09:16:52.000000000 +0200
@@ -754,6 +754,13 @@
}
buf[0] = '\0';
+
+ if (utype->impr_requirement != B_LAST) {
+ sprintf(buf + strlen(buf),
+ _("* Can only be built if there is %s in the city.\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