mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-10 07:21:58 +00:00
fix joy movement speed being framerate dependent
This commit is contained in:
parent
2a3bef456b
commit
05f60b2e33
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue