summaryrefslogtreecommitdiff
path: root/src/game/g_cmds.c
diff options
context:
space:
mode:
authorRoman Tetelman <kevlarman@gmail.com>2009-10-03 13:12:54 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:16:33 +0000
commit35b32cb279049ff764534fdc153bf37b00c6a004 (patch)
treee9e2dc50a3305e1e1d8556224ffd1a506521954c /src/game/g_cmds.c
parentea3939f5a0e08267b482def6d49e4c438f7c4663 (diff)
* store credits in pers.credit instead of ps.stats[ PERS_CREDIT ]
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 3a38fc85..f6164ac8 100644
--- a/src/game/g_cmds.c
+++ b/src/game/g_cmds.c
@@ -2975,7 +2975,7 @@ void Cmd_PTRCRestore_f( gentity_t *ent )
G_ChangeTeam( ent, connection->clientTeam );
// set the correct credit
- ent->client->ps.persistant[ PERS_CREDIT ] = 0;
+ ent->client->pers.credit = 0;
G_AddCreditToClient( ent->client, connection->clientCredit, qtrue );
}
}