mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 03:00:46 +00:00
Manually merge EDuke32 SVN commit 8617.
This commit is contained in:
parent
15a362f9ac
commit
029b0bbb45
1 changed files with 4 additions and 4 deletions
|
@ -3260,10 +3260,10 @@ void P_GetInput(int const playerNum)
|
||||||
if (!localInput.svel)
|
if (!localInput.svel)
|
||||||
{
|
{
|
||||||
if (buttonMap.ButtonDown(gamefunc_Turn_Left) && !(pPlayer->movement_lock & 4) && !localInput.svel)
|
if (buttonMap.ButtonDown(gamefunc_Turn_Left) && !(pPlayer->movement_lock & 4) && !localInput.svel)
|
||||||
input.svel = -keyMove;
|
input.svel = keyMove;
|
||||||
|
|
||||||
if (buttonMap.ButtonDown(gamefunc_Turn_Right) && !(pPlayer->movement_lock & 8) && !localInput.svel)
|
if (buttonMap.ButtonDown(gamefunc_Turn_Right) && !(pPlayer->movement_lock & 8) && !localInput.svel)
|
||||||
input.svel = keyMove;
|
input.svel = -keyMove;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -4246,10 +4246,10 @@ void P_DHGetInput(int const playerNum)
|
||||||
if (!localInput.svel)
|
if (!localInput.svel)
|
||||||
{
|
{
|
||||||
if (buttonMap.ButtonDown(gamefunc_Turn_Left) && !(pPlayer->movement_lock & 4) && !localInput.svel)
|
if (buttonMap.ButtonDown(gamefunc_Turn_Left) && !(pPlayer->movement_lock & 4) && !localInput.svel)
|
||||||
input.svel = -keyMove;
|
input.svel = keyMove;
|
||||||
|
|
||||||
if (buttonMap.ButtonDown(gamefunc_Turn_Right) && !(pPlayer->movement_lock & 8) && !localInput.svel)
|
if (buttonMap.ButtonDown(gamefunc_Turn_Right) && !(pPlayer->movement_lock & 8) && !localInput.svel)
|
||||||
input.svel = keyMove;
|
input.svel = -keyMove;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue