mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-30 02:30:41 +00:00
Fix player speed reduction logic
This commit is contained in:
parent
fdcf92e28b
commit
1fb877445c
1 changed files with 1 additions and 1 deletions
|
@ -7531,7 +7531,7 @@ check_enemy_sprite:
|
||||||
|
|
||||||
int playerSpeedReduction = 0;
|
int playerSpeedReduction = 0;
|
||||||
|
|
||||||
if (!RRRA && ((pPlayer->on_ground && (TEST_SYNC_KEY(playerBits, SK_CROUCH)))
|
if (!RRRA && pPlayer->on_ground && (TEST_SYNC_KEY(playerBits, SK_CROUCH)
|
||||||
|| (*weaponFrame > 10 && pPlayer->curr_weapon == KNEE_WEAPON)))
|
|| (*weaponFrame > 10 && pPlayer->curr_weapon == KNEE_WEAPON)))
|
||||||
playerSpeedReduction = 0x2000;
|
playerSpeedReduction = 0x2000;
|
||||||
else if (sectorLotag == ST_2_UNDERWATER)
|
else if (sectorLotag == ST_2_UNDERWATER)
|
||||||
|
|
Loading…
Reference in a new issue