mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 12:31:54 +00:00
Fix Ballhog reticule/explode when landing in reverse gravity
Resolves ring-racers#22
This commit is contained in:
parent
ccd27bb345
commit
f3b37e9715
1 changed files with 4 additions and 1 deletions
|
|
@ -2392,7 +2392,10 @@ boolean P_ZMovement(mobj_t *mo)
|
||||||
break;
|
break;
|
||||||
case MT_BALLHOG:
|
case MT_BALLHOG:
|
||||||
case MT_BALLHOG_RETICULE_TEST:
|
case MT_BALLHOG_RETICULE_TEST:
|
||||||
if (mo->z <= mo->floorz)
|
if ((mo->eflags & MFE_VERTICALFLIP)
|
||||||
|
? (mo->z + mo->height >= mo->ceilingz)
|
||||||
|
: (mo->z <= mo->floorz)
|
||||||
|
)
|
||||||
{
|
{
|
||||||
P_ExplodeMissile(mo);
|
P_ExplodeMissile(mo);
|
||||||
return false;
|
return false;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue