summaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
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
commitc823eaf3beb186dc4cf42fb4a41be1291069d77a (patch)
tree7cf7bb0c000376db13e159721ebfb9330ebedb25 /src/game
parenteb95d5b561d44d5ead7d9f524f6cf449add9eac1 (diff)
allow misc_particle_system entities to use the angles spawn variable
Diffstat (limited to 'src/game')
-rw-r--r--src/game/g_misc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/g_misc.c b/src/game/g_misc.c
index fa2c8705..3f7b132b 100644
--- a/src/game/g_misc.c
+++ b/src/game/g_misc.c
@@ -281,6 +281,7 @@ void SP_misc_particle_system( gentity_t *self )
char *s;
G_SetOrigin( self, self->s.origin );
+ VectorCopy( self->s.angles, self->s.apos.trBase );
G_SpawnString( "psName", "", &s );
G_SpawnFloat( "wait", "0", &self->wait );