From bdade9897615a584426f1e3baba4463646f6ccc2 Mon Sep 17 00:00:00 2001 From: zicodxx Date: Thu, 10 Mar 2011 21:39:49 +0100 Subject: [PATCH] Due to lazy copy&paste sliding up/down speed was divided by 2 - fixed --- CHANGELOG.txt | 4 ++++ main/kconfig.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index b82fba041..f94625c8b 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -1,5 +1,9 @@ D2X-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 diff --git a/main/kconfig.c b/main/kconfig.c index 3c8c3cff9..a30e7e653 100644 --- a/main/kconfig.c +++ b/main/kconfig.c @@ -1387,8 +1387,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;