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

                 Summary: Wesnoth crashes if :unit is issued on an empty hex
                 Project: Battle for Wesnoth
            Submitted by: elvish_hunter
            Submitted on: dom 02 ott 2011 20:11:31 GMT
                Category: Bug
                Severity: 4 - Important
                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.9.9+svn
        Operating System: Linux

    _______________________________________________________

Details:

In former Wesnoth versions, if the debug :unit command was typed on an empty
hex, nothing happened.
On 1.9.9+svn, 51293M, if the mouse points on a unit, the :unit command works
fine. But if the pointer is on an empty hex, Wesnoth crashes with the
following error message in the terminal:

wesnoth: src/unit_map.hpp:188: typename iter_types::value_type*
unit_map::iterator_base<iter_types>::operator->() const [with iter_types =
unit_map::standard_iter_types]: Asserzione "valid()" non riuscita.
Aborted

"Asserzione non riuscita" means "Assertion failed" in Italian.

Tested in the first scenario of HttT, Hard difficult, but it seems to happen
everywhere.




    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Messaggio inviato con/da Gna!
  http://gna.org/


_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs

Reply via email to