Fix bug #21883: make sure movement animations don't cycle with fog on

This commit is contained in:
David Mikos 2014-04-20 13:05:26 +09:30
parent d69887a924
commit e79083c696
2 changed files with 2 additions and 1 deletions

View file

@ -67,6 +67,7 @@ Version 1.11.12+dev:
* Fix bug #21916: ready blocked at inappropriate times
* Fix GUI2 borders around selected elements
* Fix bug #21931: controllers bugged in (basic campaign) when networked
* Fix bug #21883: make sure movement animations don't cycle with fog on
* WML engine:
* [get_global_variable] now works properly when side != current_side.
* Fix bug #20871: Attack related events are now mpsave.

View file

@ -526,7 +526,7 @@ void unit_animation::fill_initial_animations( std::vector<unit_animation> & anim
animations.push_back(*itor);
animations.back().event_ = utils::split("movement");
animations.back().unit_anim_.override(0,6800,particule::NO_CYCLE,"","",0,"0~1:200,0~1:200,0~1:200,0~1:200,0~1:200,0~1:200,0~1:200,0~1:200,0~1:200,0~1:200,0~1:200,0~1:200,0~1:200,0~1:200,0~1:200,0~1:200,0~1:200,0~1:200,0~1:200,0~1:200,0~1:200,0~1:200,0~1:200,0~1:200,0~1:200,0~1:200,0~1:200,0~1:200,0~1:200,0~1:200,0~1:200,0~1:200,0~1:200,0~1:200,",lexical_cast<std::string>(display::LAYER_UNIT_MOVE_DEFAULT-display::LAYER_UNIT_FIRST));
animations.back().unit_anim_.override(0,200,particule::NO_CYCLE,"","",0,"0~1:200",lexical_cast<std::string>(display::LAYER_UNIT_MOVE_DEFAULT-display::LAYER_UNIT_FIRST));
animations.push_back(*itor);
animations.back().event_ = utils::split("defend");