Stars don't go faster when you get hit more

This commit is contained in:
Sryder13 2017-10-24 14:04:54 +01:00
parent b87564f6eb
commit 07ffa8af6e

View file

@ -3386,13 +3386,13 @@ void P_PlayerRingBurst(player_t *player, INT32 num_rings)
momz = 3*FRACUNIT;
}
ns = FixedMul(FixedMul(momxy, FRACUNIT + FixedDiv(player->losstime<<FRACBITS, 10*TICRATE<<FRACBITS)), mo->scale);
ns = FixedMul(momxy, mo->scale);
mo->momx = FixedMul(FINECOSINE(fa),ns);
if (!(twodlevel || (player->mo->flags2 & MF2_TWOD)))
mo->momy = FixedMul(FINESINE(fa),ns);
ns = FixedMul(momz, FRACUNIT + FixedDiv(player->losstime<<FRACBITS, 10*TICRATE<<FRACBITS));
ns = momz;
P_SetObjectMomZ(mo, ns, false);
if (i & 1)