Follow-up Comment #4, patch #971 (project wesnoth):

I found this in unit.cpp:

underlying_description_ = cfg["description"];

So I used underlying_description instead. The idea was that if you have some
custom unit with a description, like "the wizard", you could easily find it
from the Python AI (without worrying about translations and so on..).. so I
hope this is the correct one. Maybe there should be another member added to
give back the translated unit name (for debugging).

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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