info_particle_system: Make sure to respect the 'start_active' key.
This commit is contained in:
parent
b6f9242752
commit
8caa8d171f
1 changed files with 5 additions and 6 deletions
|
@ -238,12 +238,11 @@ info_particle_system::Respawn(void)
|
||||||
SetOrigin(m_oldOrigin);
|
SetOrigin(m_oldOrigin);
|
||||||
SetAngles(m_oldAngle);
|
SetAngles(m_oldAngle);
|
||||||
|
|
||||||
SendFlags = PARTSYSFL_CHANGED_ORIGIN | \
|
if (spawnflags & PSFL_STARTACTIVE) {
|
||||||
PARTSYSFL_CHANGED_ANGLES | \
|
Trigger(this, TRIG_ON);
|
||||||
PARTSYSFL_CHANGED_EFFECT | \
|
} else {
|
||||||
PARTSYSFL_CHANGED_STATUS | \
|
Trigger(this, TRIG_OFF);
|
||||||
PARTSYSFL_CHANGED_INTERVAL | \
|
}
|
||||||
PARTSYSFL_CHANGED_COUNT;
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue