mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +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;
|
||||
case MT_BALLHOG:
|
||||
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);
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue