Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2004:
[Freeciv-Dev] Re: (PR#10333) crazy server crash: invalid map position
Home

[Freeciv-Dev] Re: (PR#10333) crazy server crash: invalid map position

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] Re: (PR#10333) crazy server crash: invalid map position
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 25 Sep 2004 13:26:14 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=10333 >

Jason Short wrote:

> This is with current CVS.  Probably a bug in the new PF code.

The bug is severe.  The fix is simple.  I will commit immediately.

jason

? new1
? new2
? orig1
? orig2
? timing
Index: common/aicore/pf_tools.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/common/aicore/pf_tools.c,v
retrieving revision 1.21
diff -u -r1.21 pf_tools.c
--- common/aicore/pf_tools.c    25 Sep 2004 17:40:50 -0000      1.21
+++ common/aicore/pf_tools.c    25 Sep 2004 20:25:20 -0000
@@ -545,6 +545,7 @@
   parameter->get_TB = NULL;
   parameter->get_EC = NULL;
   parameter->is_pos_dangerous = NULL;
+  parameter->get_costs = NULL;
   parameter->get_zoc = NULL;
   BV_CLR_ALL(parameter->unit_flags);
 

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] Re: (PR#10333) crazy server crash: invalid map position, Jason Short <=