Better particle spread

This commit is contained in:
TehRealSalt 2018-09-22 19:00:30 -04:00
parent 487e114fee
commit a3b40c7577

View file

@ -8303,9 +8303,9 @@ void P_MobjThinker(mobj_t *mobj)
}
else
{
P_SpawnMobj(mobj->x + (P_RandomRange(-32,32)<<FRACBITS),
mobj->y + (P_RandomRange(-32,32)<<FRACBITS),
mobj->z + (24<<FRACBITS) + (P_RandomRange(-16,16)<<FRACBITS),
P_SpawnMobj(mobj->x + (P_RandomRange(-48,48)<<FRACBITS),
mobj->y + (P_RandomRange(-48,48)<<FRACBITS),
mobj->z + (24<<FRACBITS) + (P_RandomRange(-8,8)<<FRACBITS),
MT_RINGSPARKLE);
mobj->flags &= ~MF_NOGRAVITY;
if (abs(mobj->z - mobj->movefactor) <= 512<<FRACBITS && !mobj->cvmem)