summaryrefslogtreecommitdiff
path: root/src/game/g_weapon.c
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2015-06-22 16:12:48 +0200
committerPaweł Redman <pawel.redman@gmail.com>2015-06-22 16:12:48 +0200
commitef1dd29cd38abd1f2c008bdd32ca767620613895 (patch)
tree40ccd8a421ac8206a4de95600aac138f0467e74a /src/game/g_weapon.c
parent43763238a0187c885482283c8d7e5ae0137423b5 (diff)
Remove Flamer primary.
Diffstat (limited to 'src/game/g_weapon.c')
-rw-r--r--src/game/g_weapon.c31
1 files changed, 1 insertions, 30 deletions
diff --git a/src/game/g_weapon.c b/src/game/g_weapon.c
index 705678d..586af40 100644
--- a/src/game/g_weapon.c
+++ b/src/game/g_weapon.c
@@ -585,31 +585,6 @@ void prifleStasisFire( gentity_t *ent )
fire_prifle_stasis( ent, muzzle, forward );
}
-
-/*
-===============
-FLAME THROWER
-Napalm Charge
-===============
-*/
-void NapalmFire( gentity_t *ent, qboolean secondary )
-{
- int damage;
-
- damage = ent->client->ps.stats[ STAT_MISC ] *
- LCANNON_DAMAGE / LCANNON_CHARGE_TIME_MAX;
-
- G_CombatStats_Fire( ent, CSW_FLAMER, damage );
-
- NapalmChargeFire( ent, muzzle, forward,
- damage, LCANNON_RADIUS, LCANNON_SPEED );
-
- NapalmChargeImp( ent, muzzle, forward,
- damage, LCANNON_RADIUS, LCANNON_SPEED );
-
- ent->client->ps.stats[ STAT_MISC ] = 0;
-}
-
/*
===============
FLAME THROWER
@@ -1747,10 +1722,6 @@ void FireWeapon2( gentity_t *ent )
case WP_CHAINGUN:
bulletFire( ent, CHAINGUN_SPREAD2, CHAINGUN_DMG2, MOD_CHAINGUN );
break;
-
- case WP_FLAMER:
- FlamerNormal( ent );
- break;
case WP_LAS_GUN:
lasGunFire2( ent );
@@ -1832,7 +1803,7 @@ void FireWeapon( gentity_t *ent )
bulletFire( ent, CHAINGUN_SPREAD, CHAINGUN_DMG, MOD_CHAINGUN );
break;
case WP_FLAMER:
- NapalmFire( ent, qfalse );
+ FlamerNormal( ent );
break;
case WP_PULSE_RIFLE:
pulseRifleFire( ent );