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

I think this already exists -- if you were to "#define SPECENUM_COUNT
trait_array_size" before #including specenum_gen.h, for example, you'd get an
enum constant "trait_array_size" which could be used in place of
trait_max()+1. (Added in patch #1678.)


Reply to this item at:


  Message sent via/by Gna!

Freeciv-dev mailing list

Reply via email to