From 358bb181276c0811acd0ae4f4453d4584059c4de Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Mon, 25 Mar 2002 04:56:46 +0000 Subject: Client side flamer effects --- src/game/g_missile.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/game/g_missile.c') 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); -- cgit