mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
I'm not aware of any particular issues this change fixes, but I definitely don't intend this hack to ever affect anything while the player is on the ground
git-svn-id: https://svn.eduke32.com/eduke32@7861 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
ed40842bad
commit
24a53db8f5
1 changed files with 1 additions and 1 deletions
|
@ -4702,7 +4702,7 @@ void P_ProcessInput(int playerNum)
|
|||
{
|
||||
if (pPlayer->pos.z + stepHeight > actor[pPlayer->i].floorz - PMINHEIGHT)
|
||||
stepHeight -= (pPlayer->pos.z + stepHeight) - (actor[pPlayer->i].floorz - PMINHEIGHT);
|
||||
else
|
||||
else if (!pPlayer->on_ground)
|
||||
stepHeight -= (pPlayer->jumping_counter << 1) + (pPlayer->jumping_counter >> 1);
|
||||
|
||||
stepHeight = max(stepHeight, 0);
|
||||
|
|
Loading…
Reference in a new issue