Enable true infinite ammunition for Instagib and Rocket Arena modes

This commit is contained in:
2025-07-07 11:11:59 -03:00
parent c62d354e15
commit 102c6c4f4a

View File

@@ -1995,7 +1995,7 @@ else
if(g_instantgib.integer)
{
client->ps.stats[STAT_WEAPONS] = ( 1 << WP_RAILGUN );
client->ps.ammo[WP_RAILGUN] = 999; //Don't display any ammo
client->ps.ammo[WP_RAILGUN] = -1;
if(g_instantgib.integer>1)
{
client->ps.stats[STAT_WEAPONS] |= ( 1 << WP_GAUNTLET );
@@ -2007,7 +2007,7 @@ else
if(g_rockets.integer)
{
client->ps.stats[STAT_WEAPONS] = ( 1 << WP_ROCKET_LAUNCHER );
client->ps.ammo[WP_ROCKET_LAUNCHER] = 999;
client->ps.ammo[WP_ROCKET_LAUNCHER] = -1;
}
G_SetOrigin( ent, spawn_origin );