Fix bug #16171: disable moves during [animate_unit] (ported from 2010-06-16T15:52:48Z!ai0867@gmail.com)
This commit is contained in:
parent
82f84687a4
commit
cf5fcb2fcd
2 changed files with 2 additions and 0 deletions
|
@ -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:
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue