URL:
<http://gna.org/bugs/?14014>
Summary: Advancing a max-level unit with :unit advances=N
broken since r36979
Project: Battle for Wesnoth
Submitted by: shadowmaster
Submitted on: Friday 07/24/2009 at 17:25
Category: Bug
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None of the others
Status: None
Privacy: Public
Assigned to: crab
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 1.7.2, 1.7.2+svn r36979
Operating System: Debian lenny
_______________________________________________________
Details:
A change in r36979 breaks the debug-mode :unit advances=N command when the
target unit is already at maximum level.
Reproduced by applying :debug :unit advances=2 on the Silver Mage on the test
scenario.
++
20090724 16:28:11 error engine: Trying to add Carraedran - Silver Mage-2 at
an invalid location; Discarding.
20090724 16:28:11 error engine: Unit advanced no longer exists
wesnoth: src/ai/../unit_map.hpp:113: typename iter_types::pointer_type
unit_map::iterator_base<iter_policy, iter_types>::operator->() const [with
iter_policy = unit_map::unit_policy, iter_types =
unit_map::standard_iter_types]: Assertion `policy_.valid(i_, map_) &&
"Attempt to dereference invalid iterator"' failed.
Aborted
--
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?14014>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs