URL:
  <http://gna.org/bugs/?12524>

                 Summary: exception in dialogs.cpp
                 Project: Battle for Wesnoth
            Submitted by: max2008
            Submitted on: Tuesday 10/28/2008 at 20:40
                Category: Bug
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group:  None of the others
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 1.5.5+
        Operating System: WinXp

    _______________________________________________________

Details:

(rev 30375)

in line 437:
const unit_type_data::unit_type_map::const_iterator leader =
unit_type_data::types().find(summary["leader"]);

find() returns an iterator from a different map (dummy_unit_map_) if unit can
not be found. crash occurs in next line when iterator is compared to ::end()
from types_ map.

steps to reproduce:

start the tutorial (there's a unit student)
create save game
exit
click button "Load"

note:
i've used vs2008 to compile from trunk, not sure how other stl
implementations deal with this...




    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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