diff options
Diffstat (limited to 'src/game/g_missile.c')
-rw-r--r-- | src/game/g_missile.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/g_missile.c b/src/game/g_missile.c index 303b192e..5efecd70 100644 --- a/src/game/g_missile.c +++ b/src/game/g_missile.c @@ -340,7 +340,7 @@ gentity_t *fire_luciferCanon( gentity_t *self, vec3_t start, vec3_t dir, int dam { gentity_t *bolt; int localDamage = (int)( ceil( ( (float)damage / - (float)LCANON_TOTAL_CHARGE ) * (float)LCANON_DAMAGE ) ); + (float)LCANNON_TOTAL_CHARGE ) * (float)LCANNON_DAMAGE ) ); VectorNormalize( dir ); @@ -350,7 +350,7 @@ gentity_t *fire_luciferCanon( gentity_t *self, vec3_t start, vec3_t dir, int dam bolt->think = G_ExplodeMissile; bolt->s.eType = ET_MISSILE; bolt->r.svFlags = SVF_USE_CURRENT_ORIGIN; - bolt->s.weapon = WP_LUCIFER_CANON; + bolt->s.weapon = WP_LUCIFER_CANNON; bolt->r.ownerNum = self->s.number; bolt->parent = self; bolt->damage = localDamage; @@ -365,7 +365,7 @@ gentity_t *fire_luciferCanon( gentity_t *self, vec3_t start, vec3_t dir, int dam bolt->s.pos.trType = TR_LINEAR; 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, LCANON_SPEED, bolt->s.pos.trDelta ); + VectorScale( dir, LCANNON_SPEED, bolt->s.pos.trDelta ); SnapVector( bolt->s.pos.trDelta ); // save net bandwidth VectorCopy( start, bolt->r.currentOrigin ); |