mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-14 08:30:50 +00:00
- allow sprites and particles simultaneously for puffs.
This commit is contained in:
parent
321c846d01
commit
ac4074a69a
2 changed files with 2 additions and 1 deletions
|
@ -6009,7 +6009,7 @@ AActor *P_SpawnPuff (AActor *source, PClassActor *pufftype, const DVector3 &pos1
|
||||||
if (cl_pufftype && updown != 3 && (puff->flags4 & MF4_ALLOWPARTICLES))
|
if (cl_pufftype && updown != 3 && (puff->flags4 & MF4_ALLOWPARTICLES))
|
||||||
{
|
{
|
||||||
P_DrawSplash2 (32, pos, particledir, updown, 1);
|
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)
|
if ((flags & PF_HITTHING) && puff->SeeSound)
|
||||||
|
|
|
@ -638,6 +638,7 @@ OptionValue PuffTypes
|
||||||
{
|
{
|
||||||
0.0, "$OPTVAL_SPRITES"
|
0.0, "$OPTVAL_SPRITES"
|
||||||
1.0, "$OPTVAL_PARTICLES"
|
1.0, "$OPTVAL_PARTICLES"
|
||||||
|
2.0, "$OPTVAL_SPRITESPARTICLES"
|
||||||
}
|
}
|
||||||
|
|
||||||
OptionValue Wipes
|
OptionValue Wipes
|
||||||
|
|
Loading…
Reference in a new issue