summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game/g_weapon.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game/g_weapon.c b/src/game/g_weapon.c
index 123ac0d..a46c03e 100644
--- a/src/game/g_weapon.c
+++ b/src/game/g_weapon.c
@@ -80,6 +80,10 @@ 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 ];
}