Follow-up Comment #2, bug #25360 (project wesnoth):

Giving up on this for now - maybe someone else who knows the code better can
have a go.

I stepped through both 1.12 and 1.13 - both code pertaining to the generation
of the units object seems to be very similar, as does the respective units cfg
files. However, the variation_name_ member string (and it seems to be only
this member which is broken) is populated in 1.12 and not in 1.13.

Searching for all instances of variation_name_, it only pops up three times:
declaration of the member, a const get method, and in the construction of the
encapsulating unit_type object.

The strange thing I'm finding is that variation_name_ appears blank for both
1.12 and 1.13 after the building of the unit_types from the units cfg files,
but when the Help gets the variation_name_ from the unit_type object, it's
populated in 1.12. So there must be some other process manipulating the
variation_name_ string in between loading from the cfg and displaying the Help
dialogue.

I don't know what that process is, but presumably the differences breaking
1.13 is in there.

    _______________________________________________________

Reply to this item at:

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

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


_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs

Reply via email to