reverting rev372 - fast movement noticed in DOS version was caused by too high FPS because of the different behaviour of FrameTime. Divisor in pitch time is correct to stay as close as possible to 30FPS behaviour
This commit is contained in:
parent
98fc9a1e00
commit
1897828dbc
|
@ -3,7 +3,6 @@ D2X-Rebirth Changelog
|
|||
20070127
|
||||
--------
|
||||
main/credits: use ogl_ubitmapm_cs instead of show_fullscr in OGL to render faster
|
||||
main/kconfig.c: made pitching time as fast as heading time - compared with original Descent1 & 2
|
||||
main/gamerend.c: corrected position of multi-message entry string
|
||||
|
||||
20070126
|
||||
|
|
|
@ -3461,9 +3461,9 @@ if (!keyd_pressed[ KEY_LALT ])
|
|||
|
||||
// ZICO - remove clamp for pitch and heading if mouselook on and no multiplayer game
|
||||
if ((Config_control_type != 5) || !mouselook || (Game_mode & GM_MULTI) ) {
|
||||
if (Controls.pitch_time > FrameTime ) Controls.pitch_time = FrameTime;
|
||||
if (Controls.pitch_time > FrameTime/2 ) Controls.pitch_time = FrameTime/2;
|
||||
if (Controls.heading_time > FrameTime ) Controls.heading_time = FrameTime;
|
||||
if (Controls.pitch_time < -FrameTime ) Controls.pitch_time = -FrameTime;
|
||||
if (Controls.pitch_time < -FrameTime/2 ) Controls.pitch_time = -FrameTime/2;
|
||||
if (Controls.heading_time < -FrameTime ) Controls.heading_time = -FrameTime;
|
||||
}
|
||||
if (Controls.vertical_thrust_time > FrameTime ) Controls.vertical_thrust_time = FrameTime;
|
||||
|
|
Loading…
Reference in a new issue