From ef1dd29cd38abd1f2c008bdd32ca767620613895 Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Mon, 22 Jun 2015 16:12:48 +0200 Subject: Remove Flamer primary. --- src/game/g_weapon.c | 31 +------------------------------ 1 file changed, 1 insertion(+), 30 deletions(-) (limited to 'src/game/g_weapon.c') 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 ); -- cgit