summaryrefslogtreecommitdiff
path: root/src/game/g_cmds.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_cmds.c')
-rw-r--r--src/game/g_cmds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_cmds.c b/src/game/g_cmds.c
index f3f793b2..02c35643 100644
--- a/src/game/g_cmds.c
+++ b/src/game/g_cmds.c
@@ -364,7 +364,7 @@ void Cmd_Give_f( gentity_t *ent )
if( give_all || Q_stricmpn( name, "funds", 5 ) == 0 )
{
- int credits = atoi( name + 6 );
+ float credits = atof( name + 6 );
if( ent->client->pers.teamSelection == TEAM_ALIENS )
credits *= ALIEN_CREDITS_PER_KILL;