2007-05-12T10:33:21Z!jeremy.rosen@enst-bretagne.fr added acceleration in the transition of ToD masks,
...but with a double effect: less frames and shorter duration for each frames. Fix this by keeping a constant frame duration
This commit is contained in:
parent
7bc115743c
commit
88300e148b
1 changed files with 1 additions and 1 deletions
|
@ -158,7 +158,7 @@ void display::new_turn()
|
|||
const surface new_mask(image::get_image(tod.image_mask,image::UNMASKED));
|
||||
|
||||
const int niterations = (int)(10/turbo_speed());
|
||||
const int frame_time = (int)(30/turbo_speed());
|
||||
const int frame_time = 30;
|
||||
const int starting_ticks = SDL_GetTicks();
|
||||
for(int i = 0; i != niterations; ++i) {
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue