Follow-up Comment #1, patch #4944 (project freeciv):

Base want needs to be moved outside the effects iteration loop - it currently
adds it once for each effect provided by the tech, i.e., base want is
multiplied by the number of effects. Still, for performance reasons, even base
want should not be calculated for techs that provide no direct effects at all
(great majority of techs in supplied rulesets) - that's why tech effects cache
was added in the first place.

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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