Follow-up Comment #4, bug #21400 (project wesnoth):
I'm sorry but it doesn't actually look like a bug to me at all. Looks like the
'image_icon' part of the unit definition was added to include the portrait in
the example, which might be okay for UMC. Normally [frame][/frame] would
specifically include the image and the "image_icon" is a best guess, and if
not present then by "image". Makes sense to me to use whatever is available,
although the order could be swapped in checking instead.
i.e.
params.image= cfg_["image"].empty() ? cfg_["image_icon"] : cfg_["image"];
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?21400>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs