mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-02-21 11:21:11 +00:00
Merge branch 'fishjump-fix' into 'next'
Fix scaling mistake in A_FishJump Closes #939 See merge request STJr/SRB2!1915
This commit is contained in:
commit
71d10ec579
1 changed files with 3 additions and 3 deletions
|
@ -4859,12 +4859,12 @@ void A_FishJump(mobj_t *actor)
|
|||
else
|
||||
{
|
||||
if (actor->spawnpoint && actor->spawnpoint->args[0])
|
||||
jumpval = actor->spawnpoint->args[0];
|
||||
jumpval = actor->spawnpoint->args[0] << (FRACBITS - 2);
|
||||
else
|
||||
jumpval = 44;
|
||||
jumpval = 44 << (FRACBITS - 2);
|
||||
}
|
||||
|
||||
actor->momz = FixedMul(jumpval << (FRACBITS - 2), actor->scale);
|
||||
actor->momz = FixedMul(jumpval, actor->scale);
|
||||
P_SetMobjStateNF(actor, actor->info->seestate);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue