summaryrefslogtreecommitdiff
path: root/src/game/g_client.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_client.c')
-rw-r--r--src/game/g_client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_client.c b/src/game/g_client.c
index 56e074f..fc797e5 100644
--- a/src/game/g_client.c
+++ b/src/game/g_client.c
@@ -1460,7 +1460,7 @@ void ClientSpawn( gentity_t *ent, gentity_t *spawn, vec3_t origin, vec3_t angles
// clear entity values
if( ent->client->pers.classSelection == PCL_HUMAN )
{
- //BG_AddUpgradeToInventory( UP_MEDKIT, client->ps.stats );
+ if (SPAWN_WITH_MEDKIT) BG_AddUpgradeToInventory( UP_MEDKIT, client->ps.stats );
weapon = client->pers.humanItemSelection;
}
else if( client->sess.spectatorState == SPECTATOR_NOT )