summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 6bbc93b..8fb61fe 100644
--- a/src/game/g_client.c
+++ b/src/game/g_client.c
@@ -223,7 +223,7 @@ G_AddCreditToClient
*/
void G_AddCreditToClient(gclient_t *client, float credit, qboolean cap)
{
- if (!client)
+ if (!client || credit == 0)
return;
if (cap) {