summaryrefslogtreecommitdiff
path: root/src/game/g_active.c
diff options
context:
space:
mode:
authorenneract <trem.redman@gmail.com>2014-12-14 14:56:38 +0100
committerenneract <trem.redman@gmail.com>2014-12-14 14:56:38 +0100
commit7c02e34b08a4e44a7f7935bf6b1bee45c3a8df6c (patch)
treee3ff69394522a6cc7dd11edf27cd69df6c0a5819 /src/game/g_active.c
parentbd6fc418d171378de5de2b7450e22f70b4899b5c (diff)
parent5130cdd357c5b3b442d39ee05052739419456e77 (diff)
Merge branch 'newguns'
Conflicts: src/cgame/cg_local.h src/cgame/cg_main.c
Diffstat (limited to 'src/game/g_active.c')
-rw-r--r--src/game/g_active.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/game/g_active.c b/src/game/g_active.c
index c7a8977..951a3a9 100644
--- a/src/game/g_active.c
+++ b/src/game/g_active.c
@@ -1941,21 +1941,6 @@ void ClientThink_real( gentity_t *ent )
ent->s.weapon = lastWeapon;
}
- if( BG_InventoryContainsUpgrade( UP_SMOKE, client->ps.stats ) &&
- BG_UpgradeIsActive( UP_SMOKE, client->ps.stats ) )
- {
- int lastWeapon = ent->s.weapon;
-
- //remove SMOKE
- BG_DeactivateUpgrade( UP_SMOKE, client->ps.stats );
- BG_RemoveUpgradeFromInventory( UP_SMOKE, client->ps.stats );
-
- //M-M-M-M-MONSTER HACK
- ent->s.weapon = WP_SMOKE;
- FireWeapon( ent );
- ent->s.weapon = lastWeapon;
- }
-
// set speed
if( client->ps.pm_type == PM_NOCLIP )
client->ps.speed = client->pers.flySpeed;