diff options
author | Ben Millwood <thebenmachine@gmail.com> | 2009-10-03 11:42:20 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:15:15 +0000 |
commit | c37ba185e89c73bc33e9ac19ee840c5e5ed49bb3 (patch) | |
tree | 118a6810fe01de509e46ba6dd42f53407310f1ea /src/game/g_missile.c | |
parent | 3b9eac7bf2528674a5c5670b474029e73a7d2926 (diff) |
Lcannon primary doesn't scale radius anymore, just uses secondary size
Diffstat (limited to 'src/game/g_missile.c')
-rw-r--r-- | src/game/g_missile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/g_missile.c b/src/game/g_missile.c index e85e7cd4..ebfd4d9d 100644 --- a/src/game/g_missile.c +++ b/src/game/g_missile.c @@ -470,13 +470,13 @@ gentity_t *fire_luciferCannon( gentity_t *self, vec3_t start, vec3_t dir, bolt->target_ent = NULL; // Give the missile a small bounding box - charge = (float)( damage - LCANNON_SECONDARY_DAMAGE ) / LCANNON_DAMAGE; bolt->r.mins[ 0 ] = bolt->r.mins[ 1 ] = bolt->r.mins[ 2 ] = - -LCANNON_SECONDARY_SIZE - charge * LCANNON_SIZE; + -LCANNON_SIZE; bolt->r.maxs[ 0 ] = bolt->r.maxs[ 1 ] = bolt->r.maxs[ 2 ] = -bolt->r.mins[ 0 ]; // Pass the missile charge through + charge = (float)( damage - LCANNON_SECONDARY_DAMAGE ) / LCANNON_DAMAGE; bolt->s.torsoAnim = charge * 255; if( bolt->s.torsoAnim < 0 ) bolt->s.torsoAnim = 0; |