Give fling rings shadows, remove afterimages

Both oni requests
This commit is contained in:
Sally Coolatta 2021-02-07 15:30:45 -05:00
parent f4e23bc4e2
commit 233d257791
2 changed files with 2 additions and 4 deletions

View file

@ -4229,7 +4229,7 @@ void A_AttractChase(mobj_t *actor)
else else
actor->drawflags &= ~MFD_DONTDRAW; actor->drawflags &= ~MFD_DONTDRAW;
// spilled rings have ghost trails and get capped to a certain speed // spilled rings get capped to a certain speed
if (actor->type == (mobjtype_t)actor->info->reactiontime) if (actor->type == (mobjtype_t)actor->info->reactiontime)
{ {
const fixed_t maxspeed = 4<<FRACBITS; const fixed_t maxspeed = 4<<FRACBITS;
@ -4241,9 +4241,6 @@ void A_AttractChase(mobj_t *actor)
actor->momx = FixedMul(FixedDiv(actor->momx, oldspeed), newspeed); actor->momx = FixedMul(FixedDiv(actor->momx, oldspeed), newspeed);
actor->momy = FixedMul(FixedDiv(actor->momy, oldspeed), newspeed); actor->momy = FixedMul(FixedDiv(actor->momy, oldspeed), newspeed);
} }
if (!P_IsObjectOnGround(actor))
P_SpawnGhostMobj(actor)->tics = 3;
} }
if (actor->tracer && actor->tracer->player && actor->tracer->health if (actor->tracer && actor->tracer->player && actor->tracer->health

View file

@ -9197,6 +9197,7 @@ static void P_DefaultMobjShadowScale(mobj_t *thing)
thing->shadowscale = FRACUNIT; thing->shadowscale = FRACUNIT;
break; break;
case MT_RING: case MT_RING:
case MT_FLINGRING:
case MT_DEBTSPIKE: case MT_DEBTSPIKE:
case MT_FLOATINGITEM: case MT_FLOATINGITEM:
case MT_BLUESPHERE: case MT_BLUESPHERE: