Removed some old code to smooth FrameTime we don't need anymore
This commit is contained in:
parent
3531adace7
commit
7b48d47be4
|
@ -1,5 +1,9 @@
|
||||||
D2X-Rebirth Changelog
|
D2X-Rebirth Changelog
|
||||||
|
|
||||||
|
20090124
|
||||||
|
--------
|
||||||
|
main/game.c: Removed some old code to smooth FrameTime we don't need anymore
|
||||||
|
|
||||||
20090122
|
20090122
|
||||||
--------
|
--------
|
||||||
main/newdemo.c: New condition to switch to Interpolated demo playback - the old one did NOT make ANY sense at all
|
main/newdemo.c: New condition to switch to Interpolated demo playback - the old one did NOT make ANY sense at all
|
||||||
|
|
|
@ -550,7 +550,6 @@ void calc_frame_time()
|
||||||
timer_value = timer_get_fixed_seconds();
|
timer_value = timer_get_fixed_seconds();
|
||||||
FrameTime = timer_value - last_timer_value;
|
FrameTime = timer_value - last_timer_value;
|
||||||
}
|
}
|
||||||
FrameTime = (FrameTime + last_frametime) * 0.5;
|
|
||||||
|
|
||||||
if ( Game_turbo_mode )
|
if ( Game_turbo_mode )
|
||||||
FrameTime *= 2;
|
FrameTime *= 2;
|
||||||
|
|
Loading…
Reference in a new issue