mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-13 06:13:18 +00:00
Only allow flicky bounce (MF_NOCLIPTHING) if also in-place (MF_GRENADEBOUNCE)
This commit is contained in:
parent
7d834ff894
commit
f8d260b044
1 changed files with 3 additions and 1 deletions
|
@ -7137,7 +7137,9 @@ void P_MobjThinker(mobj_t *mobj)
|
|||
case MT_FLICKY_16_CENTER:
|
||||
case MT_SECRETFLICKY_01_CENTER:
|
||||
case MT_SECRETFLICKY_02_CENTER:
|
||||
if (mobj->tracer && (mobj->flags & MF_NOCLIPTHING))
|
||||
if (mobj->tracer && (mobj->flags & MF_NOCLIPTHING)
|
||||
&& (mobj->flags & MF_GRENADEBOUNCE))
|
||||
// for now: only do this bounce routine if flicky is in-place. \todo allow in all movements
|
||||
{
|
||||
if (!(mobj->tracer->flags2 & MF2_OBJECTFLIP) && mobj->tracer->z <= mobj->tracer->floorz)
|
||||
mobj->tracer->momz = 7*FRACUNIT;
|
||||
|
|
Loading…
Reference in a new issue