info_particle_system: Fix the emitting speed/angle. Apparently that's
specified in the particle config itself.
This commit is contained in:
parent
578da4a779
commit
3fc7c477f0
1 changed files with 4 additions and 2 deletions
|
@ -73,11 +73,13 @@ class info_particle_system:NSPointTrigger
|
||||||
void
|
void
|
||||||
info_particle_system::Emit(void)
|
info_particle_system::Emit(void)
|
||||||
{
|
{
|
||||||
|
makevectors(angles);
|
||||||
|
|
||||||
if (m_iValue)
|
if (m_iValue)
|
||||||
if (m_iSpawnCount)
|
if (m_iSpawnCount)
|
||||||
pointparticles((float)m_iEffectID, origin, angles, m_iSpawnCount);
|
pointparticles((float)m_iEffectID, origin, v_forward, m_iSpawnCount);
|
||||||
else
|
else
|
||||||
pointparticles((float)m_iEffectID, origin, angles, 1);
|
pointparticles((float)m_iEffectID, origin, v_forward, 1);
|
||||||
|
|
||||||
nextthink = time + m_flInterval;
|
nextthink = time + m_flInterval;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue