summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheriaca <reichmeister@protonmail.com>2019-01-26 18:33:37 +0100
committerPaweł Redman <pawel.redman@gmail.com>2019-02-10 14:47:47 +0100
commit128acaff79c423102e83adf8ad87d883af607640 (patch)
treeb323dfae7be35fd3106ae6095e2bc01b66e60f19
parentea57436f20116f0168678539c593a0d0a49c76f9 (diff)
initialize max in G_OverflowFunds (gcc pls)
-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 5601e3f..0eafac0 100644
--- a/src/game/g_client.c
+++ b/src/game/g_client.c
@@ -93,7 +93,7 @@ static void G_OverflowFunds(gclient_t *donor, float funds)
{
int i;
int count = 0;
- float max;
+ float max = 0.0f;
gclient_t *clients[MAX_CLIENTS];
if (!g_creditOverflow.integer || !funds)