mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-31 05:30:48 +00:00
Fix A_FishJump for custom objects in binary maps
This commit is contained in:
parent
d7a84b967c
commit
4342dacbdf
1 changed files with 3 additions and 1 deletions
|
@ -4886,7 +4886,9 @@ void A_FishJump(mobj_t *actor)
|
|||
jumpval = locvar1;
|
||||
else
|
||||
{
|
||||
if (actor->spawnpoint && actor->spawnpoint->args[0])
|
||||
if (!udmf && actor->angle)
|
||||
jumpval = AngleFixed(actor->angle)>>2;
|
||||
else if (actor->spawnpoint && actor->spawnpoint->args[0])
|
||||
jumpval = actor->spawnpoint->args[0] << (FRACBITS - 2);
|
||||
else
|
||||
jumpval = 44 << (FRACBITS - 2);
|
||||
|
|
Loading…
Reference in a new issue