reduce frequency of idle animations
This commit is contained in:
parent
12d0c82fd8
commit
d081ba00c5
3 changed files with 3 additions and 1 deletions
|
@ -7,6 +7,7 @@ Version 1.3.4+svn:
|
|||
Crossing, Sulla's Ruins
|
||||
* user interface:
|
||||
* allow unfocused widgets to steal the focus instead of just borrowing it
|
||||
* frequency of idle animations halved.
|
||||
|
||||
Version 1.3.4:
|
||||
* campaigns
|
||||
|
|
|
@ -18,6 +18,7 @@ Version 1.3.4+svn:
|
|||
* User interface
|
||||
* Bug in delete_autosave preference fixed (thank you to jimm
|
||||
for spotting this).
|
||||
* The frequency of unit idle animations has been halved.
|
||||
|
||||
* Unit changes and balancing
|
||||
|
||||
|
|
|
@ -1618,7 +1618,7 @@ const unit_animation* unit::start_animation(const game_display &disp, const game
|
|||
}
|
||||
anim_->start_animation(anim_->get_begin_time(), false, disp.turbo_speed());
|
||||
frame_begin_time_ = anim_->get_begin_time() -1;
|
||||
next_idling_= get_current_animation_tick() +10000 +rand()%10000;
|
||||
next_idling_= get_current_animation_tick() +20000 +rand()%20000;
|
||||
if(is_attack_anim) {
|
||||
return &((attack_animation*)anim_)->get_missile_anim();
|
||||
} else {
|
||||
|
|
Loading…
Add table
Reference in a new issue