mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
Truncate instead of round when returning avel and horz from getinput
git-svn-id: https://svn.eduke32.com/eduke32@6734 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
8e8892aa3a
commit
b99aaf0438
1 changed files with 2 additions and 2 deletions
|
@ -906,9 +906,9 @@ int32_t __fastcall VM_GetPlayerInput(int32_t const playerNum, int32_t labelNum)
|
|||
|
||||
switch (labelNum)
|
||||
{
|
||||
case INPUT_AVEL: labelNum = fix16_to_int(i->q16avel); break;
|
||||
case INPUT_AVEL: labelNum = (i->q16avel >> 16); break;
|
||||
case INPUT_Q16AVEL: labelNum = i->q16avel; break;
|
||||
case INPUT_HORZ: labelNum = fix16_to_int(i->q16horz); break;
|
||||
case INPUT_HORZ: labelNum = (i->q16horz >> 16); break;
|
||||
case INPUT_Q16HORZ: labelNum = i->q16horz; break;
|
||||
case INPUT_FVEL: labelNum = i->fvel; break;
|
||||
case INPUT_SVEL: labelNum = i->svel; break;
|
||||
|
|
Loading…
Reference in a new issue