summaryrefslogtreecommitdiff
path: root/src/game/g_missile.c
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2015-04-12 15:36:31 +0200
committerPaweł Redman <pawel.redman@gmail.com>2015-04-12 15:36:31 +0200
commit0acd120b36b4eac1d55646d09745bb39c15dd0fc (patch)
treefaa9c3ede84d923a46d99c8e01cb87cd15af32de /src/game/g_missile.c
parent622ecb7bedeacaf4063dadc87764d3b66ad2f009 (diff)
Revert Rocket Launcher stats to 28fbbadc but with lower splash damage and a parabolic trajectory.
Diffstat (limited to 'src/game/g_missile.c')
-rw-r--r--src/game/g_missile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/g_missile.c b/src/game/g_missile.c
index a7781a7..3ac98f2 100644
--- a/src/game/g_missile.c
+++ b/src/game/g_missile.c
@@ -989,7 +989,7 @@ gentity_t *fire_rocket( gentity_t *self, vec3_t start, vec3_t dir )
bolt->r.ownerNum = self->s.number;
bolt->parent = self;
bolt->damage = ROCKETL_DAMAGE;
- bolt->splashDamage = ROCKETL_DAMAGE;
+ bolt->splashDamage = ROCKETL_SPLASHDAMAGE;
bolt->splashRadius = ROCKETL_RADIUS;
bolt->methodOfDeath = MOD_ROCKETL;
bolt->splashMethodOfDeath = MOD_ROCKETL_SPLASH;
@@ -997,7 +997,7 @@ gentity_t *fire_rocket( gentity_t *self, vec3_t start, vec3_t dir )
bolt->target_ent = NULL;
bolt->r.mins[ 0 ] = bolt->r.mins[ 1 ] = bolt->r.mins[ 2 ] = -ROCKETL_SIZE;
bolt->r.maxs[ 0 ] = bolt->r.maxs[ 1 ] = bolt->r.maxs[ 2 ] = ROCKETL_SIZE;
- bolt->s.pos.trType = TR_LINEAR;
+ bolt->s.pos.trType = TR_GRAVITY;
bolt->s.pos.trTime = level.time - MISSILE_PRESTEP_TIME; // move a bit on the very first frame
VectorCopy( start, bolt->s.pos.trBase );
VectorScale( dir, ROCKETL_SPEED, bolt->s.pos.trDelta );