mirror of
https://github.com/ZDoom/Raze.git
synced 2025-02-20 18:42:26 +00:00
- Exhumed: Fix bad jump setup from c252b19e9a
.
This commit is contained in:
parent
fd1c3dffe8
commit
6004a9fb5a
1 changed files with 2 additions and 2 deletions
|
@ -1242,15 +1242,15 @@ static void updatePlayerAction(Player* const pPlayer, const bool bUnderwater)
|
|||
|
||||
if (velZ < 0)
|
||||
{
|
||||
pPlayerActor->vel.Z = velZ;
|
||||
|
||||
if (bUnderwater)
|
||||
{
|
||||
pPlayerActor->vel.Z = velZ;
|
||||
nextAction = 10;
|
||||
}
|
||||
else if (pPlayer->bTouchFloor && (pPlayerActor->nAction < 6 || pPlayerActor->nAction > 8))
|
||||
{
|
||||
pPlayer->bJumping = true;
|
||||
pPlayerActor->vel.Z = velZ;
|
||||
nextAction = 3;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue