Follow-up Comment #6, bug #16797 (project freeciv):

Yep good catch. The actual bug is in the final loop at the bottom of the
function but using ptile throughout does make it easier to read.  I'm also
going to set punit = NULL right before the loop so any future bugs of this
kind trigger immediately, and add a comment and fix indentation.

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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