Follow-up Comment #13, patch #1093 (project wesnoth):
It does not work, still crashes here:
src/dialogs.cpp, line 435:
const unit_type_data::unit_type_map::const_iterator leader =
unit_type_data::types().find(summary["leader"]);
if(leader != unit_type_data::types().end()) {
While return leader with dummy_unit element, the leader is not belong to
unit_type_data::types() so that it cannot be compared to
unit_type_data::types().end(), or it throws an exception.
This is the limitation of VC STL.
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?1093>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs