Update of bug #22230 (project freeciv):

                  Status:               Confirmed => Ready For Test         

    _______________________________________________________

Follow-up Comment #5:

In comment #4, Emmet explained the cause of the crashes (the start tile is
ignored, so no path should be possible). In patch #4768, I forgot to modify
pf_map_XXX_iterate macros to handle correctly this case.

In addition, add many assertions in pf_map_XXX() functions.

As Emmet said, his patch prevents the crash but isn't the solution because it
might use the start tile without its cache set.

Fix attached, not tested.


(file #21152)
    _______________________________________________________

Additional Item Attachment:

File name: pf_map_XXX_iterate+assertions.patch Size:6 KB


    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message posté via/par Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to