fix minimal

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4701 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2014-06-27 16:19:22 +00:00
parent 51baf65e9b
commit a842a623e4
2 changed files with 4 additions and 0 deletions

View file

@ -1869,8 +1869,10 @@ void INS_JoyMove (float *movements, int pnum)
// convert range from -32768..32767 to -1..1
fAxisValue /= 32768.0;
#ifdef CSQC_DAT
if (CSQC_JoystickAxis(i, fAxisValue, 0))
continue;
#endif
switch (dwAxisMap[i])
{