diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/game/g_client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_client.c b/src/game/g_client.c index b8fd8472..da10b994 100644 --- a/src/game/g_client.c +++ b/src/game/g_client.c @@ -95,7 +95,7 @@ void G_AddCreditToClient( gclient_t *client, short credit, qboolean cap ) capAmount = client->pers.teamSelection == PTE_ALIENS ? ALIEN_MAX_FRAGS * ALIEN_CREDITS_PER_FRAG : HUMAN_MAX_CREDITS; - if( client->pers.credit > capAmount ) + if( cap && client->pers.credit > capAmount ) client->pers.credit = capAmount; if( client->pers.credit < 0 ) |