Hook CONTROL_MouseAxesScale[] up to mousex/mousey in ControlInfo

git-svn-id: https://svn.eduke32.com/eduke32@8126 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2019-09-19 12:02:00 +00:00 committed by Christoph Oelckers
parent b99ac8c4a0
commit 97fd50e1ec

View file

@ -123,8 +123,8 @@ static void CONTROL_GetMouseDelta(ControlInfo * info)
last = input;
}
info->mousex = Blrintf(finput.x * 4.f * CONTROL_MouseSensitivity);
info->mousey = Blrintf(finput.y * 4.f * CONTROL_MouseSensitivity);
info->mousex = mulscale16(Blrintf(finput.x * 4.f * CONTROL_MouseSensitivity), CONTROL_MouseAxesScale[0]);
info->mousey = mulscale16(Blrintf(finput.y * 4.f * CONTROL_MouseSensitivity), CONTROL_MouseAxesScale[1]);
}
static int32_t CONTROL_GetTime(void)