This is the mail archive of the
xconq7@sources.redhat.com
mailing list for the Xconq project.
Re: The "immediate wreck" code
- From: Jim Kingdon <kingdon at panix dot com>
- To: peters2000 at mindspring dot com
- Cc: xconq7 at sources dot redhat dot com
- Date: Sun, 16 Jun 2002 15:38:58 -0400 (EDT)
- Subject: Re: The "immediate wreck" code
- References: <1024253515.19490.23979.camel@localhost.localdomain>
> I noticed that in the CVS Xconq sources, if a unit is set up to
> immediately wreck in certain terrain, the help screen will report
> "Immediate wreck in: false for all terrain types."
Ah yes. I've checked in the enclosed patch which seems to fix it.
2002-06-16 Jim Kingdon <kingdon@panix.com>
* kernel/help.c (describe_utype): Fix cut-and-paste error
(ut_vanishes_on -> ut_wrecks_on) which led to the help wrongly
describing ut_wrecks_on.
Index: kernel/help.c
===================================================================
RCS file: /cvs/xconq/xconq/kernel/help.c,v
retrieving revision 1.22
diff -u -r1.22 help.c
--- kernel/help.c 8 May 2002 23:51:17 -0000 1.22
+++ kernel/help.c 16 Jun 2002 19:31:41 -0000
@@ -854,7 +854,7 @@
}
if (ut_table_row_not_default(u, ut_wrecks_on, 0)) {
tbprintf(buf, "Immediate wreck if in: ");
- ut_table_row_desc(buf, u, ut_vanishes_on, tb_bool_desc, "");
+ ut_table_row_desc(buf, u, ut_wrecks_on, tb_bool_desc, "");
tbcat(buf, ".\n");
}
/* Describe unit's transport capabilities. */