summaryrefslogtreecommitdiff
path: root/src/game/g_weapon.c
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2015-06-28 21:06:06 +0200
committerPaweł Redman <pawel.redman@gmail.com>2015-06-28 21:06:06 +0200
commit93d2e4414ee25e417ee0d2ca0248448002ea4d5b (patch)
treef8a5884f09d7396bd04f4b356767230144f50d3a /src/game/g_weapon.c
parent5904b538d7fd639429a450b0ad7928cd311213fd (diff)
Remove all code and assets related to Mine, Smoke and Flames.
Diffstat (limited to 'src/game/g_weapon.c')
-rw-r--r--src/game/g_weapon.c30
1 files changed, 0 insertions, 30 deletions
diff --git a/src/game/g_weapon.c b/src/game/g_weapon.c
index 90eb069..0925973 100644
--- a/src/game/g_weapon.c
+++ b/src/game/g_weapon.c
@@ -607,17 +607,6 @@ Normal
}
/*
-===============
-FireBreath Tyrant
-===============
-*/
-void FireBreath_tyrant( gentity_t *ent )
-{
- G_CombatStats_Fire( ent, CSW_LEVEL4_ALT, LEVEL4_FIREBREATHDMG );
- FireBreath_fire( ent, muzzle, forward, 0, LCANNON_RADIUS, LCANNON_SPEED );
-}
-
-/*
======================================================================
FlameTurret
======================================================================
@@ -640,18 +629,6 @@ void throwGrenade( gentity_t *ent )
G_CombatStats_Fire( ent, CSW_GRENADE, GRENADE_DAMAGE );
launch_grenade( ent, muzzle, forward );
- launch_grenade_flames( ent, muzzle, forward );
-}
-
-/*
-======================================================================
-MINE
-======================================================================
-*/
-
-void throwMine( gentity_t *ent )
-{
- launch_mine( ent, muzzle, forward );
}
/*
@@ -1160,8 +1137,6 @@ static void G_FindZapChainTargets( zap_t *zap )
enemy->client->ps.stats[ STAT_TEAM ] == TEAM_HUMANS ) ||
( enemy->s.eType == ET_BUILDABLE &&
BG_Buildable( enemy->s.modelindex )->team == TEAM_HUMANS ) ||
- ( enemy->s.eType == ET_MISSILE &&
- enemy->s.weapon == WP_MINE ) ||
( enemy->client &&
enemy->client->ps.stats[ STAT_TEAM ] == TEAM_ALIENS &&
enemy->client->ps.stats[ STAT_CLASS ] == PCL_ALIEN_LEVEL2_UPG ) ) &&
@@ -1382,8 +1357,6 @@ void areaZapFire( gentity_t *ent )
if( ( traceEnt->client && traceEnt->client->ps.stats[ STAT_TEAM ] == TEAM_HUMANS ) ||
( traceEnt->s.eType == ET_BUILDABLE &&
BG_Buildable( traceEnt->s.modelindex )->team == TEAM_HUMANS ) ||
- ( traceEnt->s.eType == ET_MISSILE &&
- traceEnt->s.weapon == WP_MINE ) ||
( traceEnt->client && traceEnt->client->ps.stats[ STAT_TEAM ] == TEAM_ALIENS &&
traceEnt->client->ps.stats[ STAT_CLASS ] == PCL_ALIEN_LEVEL2_UPG ) )
{
@@ -1833,9 +1806,6 @@ void FireWeapon( gentity_t *ent )
case WP_GRENADE:
throwGrenade( ent );
break;
- case WP_MINE:
- throwMine( ent );
- break;
case WP_HIVE:
hiveFire( ent );
break;