Complete.Org: Mailing Lists: Archives: freeciv-dev: May 2005:
[Freeciv-Dev] (PR#8957) Bug: autosettlers and goto_dest
Home

[Freeciv-Dev] (PR#8957) Bug: autosettlers and goto_dest

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#8957) Bug: autosettlers and goto_dest
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 2 May 2005 20:28:33 -0700
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=8957 >

Here's a patch.  I will commit immediately.

-jason

Index: server/unithand.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/server/unithand.c,v
retrieving revision 1.333
diff -u -r1.333 unithand.c
--- server/unithand.c   1 May 2005 05:42:04 -0000       1.333
+++ server/unithand.c   3 May 2005 03:28:19 -0000
@@ -546,6 +546,7 @@
        * idle autosettlers behave correctly when selected --dwp
      */
     punit->ai.control = FALSE;
+    punit->goto_tile = NULL;
     handle_unit_activity_request_targeted(punit, activity, activity_target);
 
     /* Exploring is handled here explicitly, since the player expects to

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#8957) Bug: autosettlers and goto_dest, Jason Short <=