make the flash of default unit-selection-animation more subtle

It seems to mix a little with the permanent higlighting of unit selection
and the ellipse is also refreshed. Both are not ugly and maybe useful,
but probably need to be tuned.
This commit is contained in:
Ali El Gariani 2007-11-01 23:46:05 +00:00
parent 9a780c9003
commit 320e323d13

View file

@ -284,7 +284,7 @@ void unit_animation::initialize_anims( std::vector<unit_animation> & animations,
for(anim_itor = parsed_animations.begin(); anim_itor != parsed_animations.end(); ++anim_itor) {
animations.push_back(unit_animation(**anim_itor));
}
animations.push_back(unit_animation(0,unit_frame(image::locator(cfg["image"]),100,"","",display::rgb(255,255,255),"1"),"selected",unit_animation::DEFAULT_ANIM));
animations.push_back(unit_animation(0,unit_frame(image::locator(cfg["image"]),100,"","",display::rgb(255,255,255),"0.1"),"selected",unit_animation::DEFAULT_ANIM));
expanded_cfg = unit_animation::prepare_animation(cfg,"leading_anim");