Follow-up Comment #1, bug #13889 (project freeciv):

The attached patch does:
* Checks before dividing by zero.
* pf_map_iterate() (or pf_next() in S2_1) always returns FALSE when the unit
doesn't have move_rate.


(file #6317, file #6318)
    _______________________________________________________

Additional Item Attachment:

File name: trunk_pf_null_move_rate.diff   Size:4 KB
File name: S2_1_pf_null_move_rate.diff    Size:4 KB


    _______________________________________________________

Reply to this item at:

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

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


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

Reply via email to