diff options
author | Roman Tetelman <kevlarman@gmail.com> | 2009-10-03 13:12:54 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:16:33 +0000 |
commit | 35b32cb279049ff764534fdc153bf37b00c6a004 (patch) | |
tree | e9e2dc50a3305e1e1d8556224ffd1a506521954c /src/game/g_cmds.c | |
parent | ea3939f5a0e08267b482def6d49e4c438f7c4663 (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.c | 2 |
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 ); } } |