diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2015-06-28 21:06:06 +0200 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2015-06-28 21:06:06 +0200 |
commit | 93d2e4414ee25e417ee0d2ca0248448002ea4d5b (patch) | |
tree | f8a5884f09d7396bd04f4b356767230144f50d3a /src/game/g_active.c | |
parent | 5904b538d7fd639429a450b0ad7928cd311213fd (diff) |
Remove all code and assets related to Mine, Smoke and Flames.
Diffstat (limited to 'src/game/g_active.c')
-rw-r--r-- | src/game/g_active.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/game/g_active.c b/src/game/g_active.c index f8b28f1..b3df37b 100644 --- a/src/game/g_active.c +++ b/src/game/g_active.c @@ -1710,21 +1710,6 @@ void ClientThink_real( gentity_t *ent ) ent->s.weapon = lastWeapon; } - if( BG_InventoryContainsUpgrade( UP_MINE, client->ps.stats ) && - BG_UpgradeIsActive( UP_MINE, client->ps.stats ) ) - { - int lastWeapon = ent->s.weapon; - - //remove MINE - BG_DeactivateUpgrade( UP_MINE, client->ps.stats ); - BG_RemoveUpgradeFromInventory( UP_MINE, client->ps.stats ); - - //M-M-M-M-MONSTER HACK - ent->s.weapon = WP_MINE; - FireWeapon( ent ); - ent->s.weapon = lastWeapon; - } - // set speed if( client->ps.pm_type == PM_NOCLIP ) client->ps.speed = client->pers.flySpeed; |