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:


  Message sent via/by Gna!

Freeciv-dev mailing list

Reply via email to