Complete.Org: Mailing Lists: Archives: freeciv-dev: June 2005:
[Freeciv-Dev] Re: (PR#13329) Errors in "Orders" menu for workers
Home

[Freeciv-Dev] Re: (PR#13329) Errors in "Orders" menu for workers

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: miky40@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#13329) Errors in "Orders" menu for workers
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 25 Jun 2005 00:48:15 -0700
Reply-to: bugs@xxxxxxxxxxx

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

Mike Jing wrote:
> <URL: http://bugs.freeciv.org/Ticket/Display.html?id=13329 >
> 
> June 24 CVS/GTK2 client
> 
> In the "Orders" menu for worker units, the target terrain shown in
> "Change to" orders are the same as the original terrain of the tile that
> is being worked on.  For example, a worker on a forest tile has the
> following orders available: Change to forest (I), Change to forest (M).
>  The orders seem to work fine in spite of this.

Oops.

Index: client/gui-gtk-2.0/menu.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/gui-gtk-2.0/menu.c,v
retrieving revision 1.78
diff -u -r1.78 menu.c
--- client/gui-gtk-2.0/menu.c   7 Jun 2005 06:17:10 -0000       1.78
+++ client/gui-gtk-2.0/menu.c   25 Jun 2005 07:47:38 -0000
@@ -1162,7 +1162,7 @@
   struct tile newtile = *ptile;
 
   tile_apply_activity(&newtile, activity);
-  return tile_get_info_text(ptile);
+  return tile_get_info_text(&newtile);
 }
 
 /****************************************************************

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] Re: (PR#13329) Errors in "Orders" menu for workers, Jason Short <=