mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-02-21 11:21:11 +00:00
Fix scaling mistake in A_FishJump
This commit is contained in:
parent
71736f358f
commit
5bbfb1840a
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