Don't display ammo count for g_instantgib or g_rockets
This commit is contained in:
@@ -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; //Don't display any ammo
|
||||
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 );
|
||||
|
Reference in New Issue
Block a user