diff options
author | Tim Angus <tim@ngus.net> | 2002-08-22 22:53:07 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2002-08-22 22:53:07 +0000 |
commit | d974276ea91acccd09cd46f8f2b84ed8234dd4a9 (patch) | |
tree | e8fdb6f9314f2138e37bcad6a3de838d395de213 /src/game | |
parent | c8ab405f7c869fc7a786df6cc81065309b915806 (diff) |
* Some more improvements to light flares
Diffstat (limited to 'src/game')
-rw-r--r-- | src/game/g_misc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/g_misc.c b/src/game/g_misc.c index 5698b845..5fcc9ed6 100644 --- a/src/game/g_misc.c +++ b/src/game/g_misc.c @@ -455,6 +455,9 @@ void SP_misc_light_flare( gentity_t *self ) self->s.eType = ET_LIGHTFLARE; self->s.modelindex = G_ShaderIndex( self->targetShaderName ); VectorCopy( self->pos2, self->s.origin2 ); + + if( self->spawnflags & 1 ) + self->s.eFlags |= EF_NODRAW; trap_LinkEntity( self ); } |