Follow-up Comment #1, bug #22400 (project freeciv):

Your test looks a bit weak. What would happen if the tech is A_LAST? Or if the
tech is out of ruleset limits?

I think it shoould looks like:

(A_NONE == tech
 || (A_UNSET != tech
     && A_FUTURE != tech
     && NULL == valid_advance_by_number(tech)))



    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message posté via/par Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to