URL:
<http://gna.org/bugs/?20071>
Summary: Segfault when an unit with a planned action is
killed.
Project: Battle for Wesnoth
Submitted by: ejls
Submitted on: Thu 16 Aug 2012 08:47:04 PM GMT
Category: Bug
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Whiteboard
Status: None
Privacy: Public
Assigned to: ejls
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: r54960
Operating System: All
_______________________________________________________
Details:
- Move an unit with 1 hp next to an enemy.
- Plan a move for the next turn.
- End turn.
- When the unit is killed, the game segfault.
With my next commit, the game segfault only on the next use of the highlighter
or whatever use action::get_unit before a mapbuilding.
The problem is that the move is not removed from the side_actions.
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?20071>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs