Due to lazy copy&paste sliding up/down speed was divided by 2 - fixed

This commit is contained in:
zicodxx 2011-03-10 21:39:47 +01:00
parent dcae49a319
commit c5092c89c7
2 changed files with 6 additions and 2 deletions

View file

@ -1,5 +1,9 @@
D1X-Rebirth Changelog
20110310
--------
main/kconfig.c: Due to lazy copy&paste sliding up/down speed was divided by 2 - fixed
20110306
--------
main/songs.c: Be safer not interrupting other ports of descent or the original MS-DOS game when it comes to reading song files: Try reading from MISSION_NAME.sngdxx to have a way reading a song file for a specific mission outside the mission's HOG, next try reading from descent.sngdxx which shall serve as an alternative song file specifically for DXX and then try descent.sng. This should give authors enough possibilities to add OSTs for all different versions of the game without the need to publish different versions of their missions

View file

@ -1341,8 +1341,8 @@ void kconfig_read_controls(d_event *event, int automap_flag)
Controls.vertical_thrust_time += (Controls.mouse_axis[kc_mouse[13].value]*PlayerCfg.MouseSens[3])/8;
}
// From keyboard/buttons...
if ( Controls.slide_up_state ) Controls.vertical_thrust_time += speed_factor*FrameTime/2;
if ( Controls.slide_down_state ) Controls.vertical_thrust_time -= speed_factor*FrameTime/2;
if ( Controls.slide_up_state ) Controls.vertical_thrust_time += speed_factor*FrameTime;
if ( Controls.slide_down_state ) Controls.vertical_thrust_time -= speed_factor*FrameTime;
// From joystick...
if ( !kc_joystick[20].value ) // If not inverted...
Controls.vertical_thrust_time += (Controls.joy_axis[kc_joystick[19].value]*PlayerCfg.JoystickSens[3])/8;