This is the mail archive of the xconq7@sources.redhat.com mailing list for the Xconq project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: The "immediate wreck" code


> 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. */


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]