Follow-up Comment #5, patch #1266 (project freeciv):

I would not expect check for restrictinfra setting inside function named
friendly_terrain() - from the name of the function one would assume that it
returns true for enemy territory regardless of infra usability.
Either rename function as something like restricted_infra_tile() or
reorganize code so that check for restrictinfra is not inside the function.

    _______________________________________________________

Reply to this item at:

  <http://gna.org/patch/?1266>

_______________________________________________
  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