mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 08:52:00 +00:00
Duke3D: Reset one_eighty_count if player angle input is detected.
This commit is contained in:
parent
5f59c1364c
commit
2c13e746c5
1 changed files with 5 additions and 0 deletions
|
@ -3322,6 +3322,11 @@ void P_GetInput(int const playerNum)
|
|||
{
|
||||
localInput.q16avel = fix16_sadd(localInput.q16avel, input.q16avel);
|
||||
pPlayer->q16ang = fix16_sadd(pPlayer->q16ang, input.q16avel) & 0x7FFFFFF;
|
||||
|
||||
if (input.q16avel)
|
||||
{
|
||||
pPlayer->one_eighty_count = 0;
|
||||
}
|
||||
}
|
||||
|
||||
if (!(movementLocked & IL_NOHORIZ))
|
||||
|
|
Loading…
Reference in a new issue