summaryrefslogtreecommitdiff
path: root/src/game/g_missile.c
diff options
context:
space:
mode:
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 ca316818..d97b2fd3 100644
--- a/src/game/g_missile.c
+++ b/src/game/g_missile.c
@@ -413,7 +413,7 @@ fire_luciferCannon
=================
*/
-gentity_t *fire_luciferCannon( gentity_t *self, vec3_t start, vec3_t dir, int damage )
+gentity_t *fire_luciferCannon( gentity_t *self, vec3_t start, vec3_t dir, int damage, int radius )
{
gentity_t *bolt;
int localDamage = (int)( ceil( ( (float)damage /
@@ -433,7 +433,7 @@ gentity_t *fire_luciferCannon( gentity_t *self, vec3_t start, vec3_t dir, int da
bolt->parent = self;
bolt->damage = localDamage;
bolt->splashDamage = localDamage / 2;
- bolt->splashRadius = localDamage;
+ bolt->splashRadius = radius;
bolt->methodOfDeath = MOD_LCANNON;
bolt->splashMethodOfDeath = MOD_LCANNON_SPLASH;
bolt->clipmask = MASK_SHOT;