Follow-up Comment #2, bug #24135 (project freeciv):

With a debugger, in client/goto.c:update_last_part() (line 265):


(gdb) up
#3  0x00000000004881e6 in update_last_part
(goto_map=goto_map@entry=0x4ea4aa0,
    ptile=ptile@entry=0x3a7ace0) at goto.c:265
265         if (is_valid_dir(a->dir_to_next_pos)) {
(gdb) print *a
$2 = {tile = 0x3a79610, turn = 0, moves_left = 9, fuel_left = 1,
  total_MC = 21, total_EC = 7, dir_to_next_pos = 4294967295,
  dir_to_here = 134287504}


Directions look uninitialised.

I think this triggered once the goto line got long enough that the fighter
would have had to stop at a city for turn end.

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?24135>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to