fix joy movement speed being framerate dependent

This commit is contained in:
Eric Wasylishen 2015-06-17 17:54:31 -06:00
parent 2a3bef456b
commit 05f60b2e33

View file

@ -698,8 +698,9 @@ void IN_Move (usercmd_t *cmd)
} }
// add the joy look axis to mouse look // add the joy look axis to mouse look
total_dx += moveDualAxis.right.x; // ericw -- multiply by host_frametime (seconds/frame) to convert units/second to units/frame
total_dy += moveDualAxis.right.y; total_dx += (moveDualAxis.right.x * host_frametime);
total_dy += (moveDualAxis.right.y * host_frametime);
// //
// jeremiah sypult -- ENDjoystick // jeremiah sypult -- ENDjoystick