Fix bug #16171: disable moves during [animate_unit] (ported from 2010-06-16T15:52:48Z!ai0867@gmail.com)

This commit is contained in:
Alexander van Gessel 2010-06-16 17:00:09 +01:00
parent 82f84687a4
commit cf5fcb2fcd
2 changed files with 2 additions and 0 deletions

View file

@ -186,6 +186,7 @@ Version 1.9.0-svn:
* Improvements to make Wesnoth compile better with g++-4.5 in C++-0x mode
* Added ":undiscover" to clear all your discovered units from help
* Fix a crash when a sighted event killed a unit just before a fight
* Fixed bug #16171: Disable commands during [animate_unit]
Version 1.8.0:
* AI:

View file

@ -2581,6 +2581,7 @@ WML_HANDLER_FUNCTION(redraw, /*event_info*/, cfg)
WML_HANDLER_FUNCTION(animate_unit, event_info, cfg)
{
const events::command_disabler disable_commands;
unit_display::wml_animation(cfg, event_info.loc1);
}