diff options
author | /dev/humancontroller <devhc@example.com> | 2014-07-13 21:04:51 +0200 |
---|---|---|
committer | /dev/humancontroller <devhc@example.com> | 2017-03-09 13:51:14 +0100 |
commit | c823eaf3beb186dc4cf42fb4a41be1291069d77a (patch) | |
tree | 7cf7bb0c000376db13e159721ebfb9330ebedb25 /src/cgame | |
parent | eb95d5b561d44d5ead7d9f524f6cf449add9eac1 (diff) |
allow misc_particle_system entities to use the angles spawn variable
Diffstat (limited to 'src/cgame')
-rw-r--r-- | src/cgame/cg_particles.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cgame/cg_particles.c b/src/cgame/cg_particles.c index f3a63efd..6b85ec93 100644 --- a/src/cgame/cg_particles.c +++ b/src/cgame/cg_particles.c @@ -2445,9 +2445,8 @@ void CG_ParticleSystemEntity( centity_t *cent ) if( CG_IsParticleSystemValid( ¢->entityPS ) ) { - CG_SetAttachmentPoint( ¢->entityPS->attachment, cent->lerpOrigin ); CG_SetAttachmentCent( ¢->entityPS->attachment, cent ); - CG_AttachToPoint( ¢->entityPS->attachment ); + CG_AttachToCent( ¢->entityPS->attachment ); } else cent->entityPSMissing = qtrue; |