mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 03:00:46 +00:00
Fix one more 1<<31 calculation, remove one unneeded cast.
git-svn-id: https://svn.eduke32.com/eduke32@3724 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
287f829e32
commit
d56e5451d9
1 changed files with 2 additions and 2 deletions
|
@ -2909,12 +2909,12 @@ void getinput(int32_t snum)
|
|||
loc.bits |= g_myAimMode<<SK_AIMMODE;
|
||||
loc.bits |= BUTTON(gamefunc_Holo_Duke)<<SK_HOLODUKE;
|
||||
loc.bits |= BUTTON(gamefunc_Jetpack)<<SK_JETPACK;
|
||||
loc.bits |= (((int32_t)g_gameQuit)<<SK_GAMEQUIT);
|
||||
loc.bits |= (g_gameQuit<<SK_GAMEQUIT);
|
||||
loc.bits |= (BUTTON(gamefunc_Inventory_Right) || (BUTTON(gamefunc_Dpad_Select) && (svel < 0 || angvel > 0))) <<SK_INV_RIGHT;
|
||||
loc.bits |= BUTTON(gamefunc_TurnAround)<<SK_TURNAROUND;
|
||||
loc.bits |= BUTTON(gamefunc_Open)<<SK_OPEN;
|
||||
loc.bits |= BUTTON(gamefunc_Inventory)<<SK_INVENTORY;
|
||||
loc.bits |= KB_KeyPressed(sc_Escape)<<SK_ESCAPE;
|
||||
loc.bits |= ((uint32_t)KB_KeyPressed(sc_Escape))<<SK_ESCAPE;
|
||||
|
||||
if (BUTTON(gamefunc_Dpad_Select))
|
||||
vel = svel = angvel = 0;
|
||||
|
|
Loading…
Reference in a new issue