- 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:
Mitchell Richters 2021-01-29 20:00:15 +11:00
parent b0fc0e648b
commit c267c214c2
2 changed files with 2 additions and 2 deletions

View file

@ -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;
}

View file

@ -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;
}