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:


  Message sent via/by Gna!

Freeciv-dev mailing list

Reply via email to