summaryrefslogtreecommitdiff
path: root/src/game/g_missile.c
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2002-03-25 04:56:46 +0000
committerTim Angus <tim@ngus.net>2002-03-25 04:56:46 +0000
commit358bb181276c0811acd0ae4f4453d4584059c4de (patch)
tree9461d4c4e8f2672f01518bbf590ecfec1d742de6 /src/game/g_missile.c
parent8ee003187800b7ce7561090a8d7f9e66b920d88a (diff)
Client side flamer effects
Diffstat (limited to 'src/game/g_missile.c')
-rw-r--r--src/game/g_missile.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/game/g_missile.c b/src/game/g_missile.c
index aa4116c8..7ce12c13 100644
--- a/src/game/g_missile.c
+++ b/src/game/g_missile.c
@@ -254,8 +254,6 @@ gentity_t *fire_flamer( gentity_t *self, vec3_t start, vec3_t dir )
bolt->r.svFlags = SVF_USE_CURRENT_ORIGIN;
bolt->s.weapon = WP_FLAMER;
bolt->r.ownerNum = self->s.number;
- //random rotation for the flame sprite
- bolt->s.generic1 = rand( ) % 360;
bolt->parent = self;
bolt->damage = 5;
bolt->splashDamage = 5;
@@ -269,7 +267,7 @@ gentity_t *fire_flamer( gentity_t *self, vec3_t start, vec3_t dir )
bolt->s.pos.trTime = level.time - ( MISSILE_PRESTEP_TIME / 2 ); // move a bit on the very first frame
VectorCopy( start, bolt->s.pos.trBase );
//VectorMA( self->client->ps.velocity, 300, dir, bolt->s.pos.trDelta );
- VectorScale( dir, 300, bolt->s.pos.trDelta );
+ VectorScale( dir, FIREBALL_SPEED, bolt->s.pos.trDelta );
/*SnapVector( bolt->s.pos.trDelta ); // save net bandwidth*/
VectorCopy (start, bolt->r.currentOrigin);