URL:
<http://gna.org/bugs/?16397>
Summary: Assertion failure in map_location::get_direction
when telling a unit to face itself in WML
Project: Battle for Wesnoth
Submitted by: None
Submitted on: mardi 10.08.2010 à 11:47 CEST
Category: Bug
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None of the others
Status: None
Privacy: Public
Assigned to: None
Originator Email: [email protected]
Open/Closed: Open
Discussion Lock: Any
Release: 1.8.2
Operating System: Arch Linux
_______________________________________________________
Details:
The game crash when with an assertion failure when telling a unit to face
itself in WML.
wesnoth: map_location.cpp:210: map_location
map_location::get_direction(map_location::DIRECTION, int) const: Assertion
`false' failed.
Aborted (core dumped)
The following code snippet will cause the crash (self-contained testcase
attached):
[event]
name=start
#Telling Tritalas to face himself
[animate_unit]
flag=victory
[filter]
id=Tritalas
[/filter]
[facing]
[filter]
id=Tritalas
[/filter]
[/facing]
[/animate_unit]
[/event]
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: mardi 10.08.2010 à 11:47 CEST Name: TestCase.zip Size: 2 ko By:
None
<http://gna.org/bugs/download.php?file_id=9772>
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?16397>
_______________________________________________
Message posté via/par Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs