- Changed endsize to sizestep. Endsize affected more things than I thought it would.
This commit is contained in:
parent
ebe3f23677
commit
fb286d1737
4 changed files with 6 additions and 6 deletions
|
|
@ -321,7 +321,7 @@ enum PSFlag
|
|||
};
|
||||
|
||||
void P_SpawnParticle(const DVector3 &pos, const DVector3 &vel, const DVector3 &accel, PalEntry color, double startalpha, int lifetime, double size,
|
||||
double fadestep, double endsize, int flags)
|
||||
double fadestep, double sizestep, int flags)
|
||||
{
|
||||
particle_t *particle = NewParticle();
|
||||
|
||||
|
|
@ -337,7 +337,7 @@ void P_SpawnParticle(const DVector3 &pos, const DVector3 &vel, const DVector3 &a
|
|||
particle->ttl = lifetime;
|
||||
particle->bright = !!(flags & PS_FULLBRIGHT);
|
||||
particle->size = size;
|
||||
particle->sizestep = (lifetime == 0) ? 0 : ((endsize - size) / lifetime);
|
||||
particle->sizestep = sizestep;
|
||||
particle->notimefreeze = !!(flags & PS_NOTIMEFREEZE);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue