- allow sprites and particles simultaneously for puffs.

This commit is contained in:
Christoph Oelckers 2017-02-27 19:51:37 +01:00
parent 321c846d01
commit ac4074a69a
2 changed files with 2 additions and 1 deletions

View file

@ -6009,7 +6009,7 @@ AActor *P_SpawnPuff (AActor *source, PClassActor *pufftype, const DVector3 &pos1
if (cl_pufftype && updown != 3 && (puff->flags4 & MF4_ALLOWPARTICLES))
{
P_DrawSplash2 (32, pos, particledir, updown, 1);
puff->renderflags |= RF_INVISIBLE;
if (cl_pufftype == 1) puff->renderflags |= RF_INVISIBLE;
}
if ((flags & PF_HITTHING) && puff->SeeSound)

View file

@ -638,6 +638,7 @@ OptionValue PuffTypes
{
0.0, "$OPTVAL_SPRITES"
1.0, "$OPTVAL_PARTICLES"
2.0, "$OPTVAL_SPRITESPARTICLES"
}
OptionValue Wipes