mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-13 06:13:18 +00:00
Merge branch 'fishjumpbinaryfix' into 'next'
Fix A_FishJump for custom objects in binary maps Closes #1019 See merge request STJr/SRB2!2035
This commit is contained in:
commit
93fa653f80
1 changed files with 3 additions and 1 deletions
|
@ -4886,7 +4886,9 @@ void A_FishJump(mobj_t *actor)
|
||||||
jumpval = locvar1;
|
jumpval = locvar1;
|
||||||
else
|
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);
|
jumpval = actor->spawnpoint->args[0] << (FRACBITS - 2);
|
||||||
else
|
else
|
||||||
jumpval = 44 << (FRACBITS - 2);
|
jumpval = 44 << (FRACBITS - 2);
|
||||||
|
|
Loading…
Reference in a new issue