From fcc97a2517aadd2a91601a1e3a5fd0a62ab73636 Mon Sep 17 00:00:00 2001 From: kai Date: Wed, 29 Apr 2020 18:51:53 +0100 Subject: Revert "Don't allow storing LC charge indefinitely" This reverts commit a2117f122609669ac14e4ed4fa7b6bca35db15c3. --- src/game/g_weapon.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/game/g_weapon.c b/src/game/g_weapon.c index a46c03e..123ac0d 100644 --- a/src/game/g_weapon.c +++ b/src/game/g_weapon.c @@ -80,10 +80,6 @@ void G_ForceWeaponChange( gentity_t *ent, weapon_t weapon ) // force this here to prevent flamer effect from continuing ent->client->ps.generic1 = WPM_NOTFIRING; - // Reset the Lucifer Cannon charge - if( ent->client->ps.weapon == WP_LUCIFER_CANNON ) - ent->client->ps.stats[ STAT_MISC ] = 0; - ent->client->ps.weapon = ent->client->ps.persistant[ PERS_NEWWEAPON ]; } -- cgit