Follow-up Comment #7, bug #25549 (project wesnoth):

Just as an experiment, I changed frame_parsed_parameters::parameters()
(frame.cpp:561) so that blend_with is initialised to color_t(0, 0, 0) instead
of just copying the uninitialised blend_with_ member. Poisoned units are
rendered green again.

However, I don't think this is the way to fix this. I see the
frame_parameter() and frame_builder() constructors leave blend_with
uninitialised, but I would have thought that they would take the default
color_t() constructor.

Those of you more familiar with frame.cpp, can you check that blend_with
doesn't remain uninitialised? Or maybe direct me to where I should be making
the initialisation and for what values.

    _______________________________________________________

Reply to this item at:

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

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


_______________________________________________
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs

Reply via email to