Follow-up Comment #2, patch #3345 (project freeciv):

It mitght be good idea to check if effect value > 0 instead of only checking
if it's not NULL. That would make it easier to implement one effect that
enables vision (value: +1) and counter-effect that disables it (value: -1). If
only latter is active (or multiple counter-effects are active) total value
would be negative.

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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