1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-06-30 06:51:38 +00:00

Typo fix to avoid divide by zero.

This commit is contained in:
cc9cii 2014-03-05 22:12:59 +11:00
parent ce8d327e8e
commit 5539c75ef0

View file

@ -385,7 +385,7 @@ namespace ICS
{
ctrl->setIgnoreAutoReverse(true);
float axisRange = SDL_JOY_AXIS_MAX - SDL_JOY_AXIS_MAX;
float axisRange = SDL_JOY_AXIS_MAX - SDL_JOY_AXIS_MIN;
float valDisplaced = (float)(evt.value - SDL_JOY_AXIS_MIN);
if(joystickBinderItem.direction == Control::INCREASE)