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
1 changed files with 3 additions and 2 deletions

View File

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