[freeciv-ai] (PR#8995) Possible bug in ai_diplomat_bribe_nearby
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=8995 >
See the attached patch.
G.
? ttt.gz
? ai/aisettler.c
? ai/aisettler.h
? data/flags/Makefile
? data/flags/Makefile.in
Index: ai/aidiplomat.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/ai/aidiplomat.c,v
retrieving revision 1.33
diff -u -r1.33 aidiplomat.c
--- ai/aidiplomat.c 25 Feb 2004 20:23:49 -0000 1.33
+++ ai/aidiplomat.c 15 Jun 2004 18:04:33 -0000
@@ -506,7 +506,7 @@
struct pf_path *path;
MAPSTEP(x, y, pos.x, pos.y, DIR_REVERSE(pos.dir_to_here));
- path = pf_get_path(map, pos.x, pos.y);
+ path = pf_get_path(map, x, y);
if (!path || !ai_unit_execute_path(punit, path)
|| punit->moves_left <= 0) {
pf_destroy_path(path);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [freeciv-ai] (PR#8995) Possible bug in ai_diplomat_bribe_nearby,
Gregory Berkolaiko <=
|
|