mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 14:52:01 +00:00
- Duke: Repair jumping zvel issue originating from 5e45f988e3
for Duke and 1c5c90d00f
for RR.
* Thanks for backtracing, Graf :) * Fixes #259.
This commit is contained in:
parent
b0fc0e648b
commit
c267c214c2
2 changed files with 2 additions and 2 deletions
|
@ -1893,7 +1893,7 @@ static void movement(int snum, ESyncBits actions, int psect, int fz, int cz, int
|
|||
}
|
||||
else
|
||||
{
|
||||
p->poszv -= bsin(128 + p->jumping_counter) / 12;
|
||||
p->poszv -= bsin(2048 - 128 + p->jumping_counter) / 12;
|
||||
p->jumping_counter += 180;
|
||||
p->on_ground = 0;
|
||||
}
|
||||
|
|
|
@ -2268,7 +2268,7 @@ static void movement(int snum, ESyncBits actions, int psect, int fz, int cz, int
|
|||
}
|
||||
else
|
||||
{
|
||||
p->poszv -= bsin(128 + p->jumping_counter) / 12;
|
||||
p->poszv -= bsin(2048 - 128 + p->jumping_counter) / 12;
|
||||
p->jumping_counter += 180;
|
||||
p->on_ground = 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue