summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game/g_active.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_active.c b/src/game/g_active.c
index 0a484ee..436969b 100644
--- a/src/game/g_active.c
+++ b/src/game/g_active.c
@@ -1926,7 +1926,7 @@ void ClientThink_real( gentity_t *ent )
// Give clients some credit periodically
ClientGradualFunds( ent );
- client->ps.persistant[ PERS_CREDIT ] = client->pers.funds;
+ client->ps.persistant[ PERS_CREDIT ] = floorf(client->pers.funds);
// Don't think anymore if dead
if( client->ps.stats[ STAT_HEALTH ] <= 0 )