Follow-up Comment #4, bug #22874 (project freeciv):

> However, this behavior cannot work well anyway: considering a
> tech A with root_req B and a tech C with root_req D, what is
> supposed to be root_req of their children tech E?

It can even have it's own, third, root_req. That's why we were checking
requirements recursively, to get all three root_req's covered.
Advance structure would need to have list of root_reqs instead of single
root_req stored if we want all the inherited root_reqs available by checking
the tech itself only.

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to