From 35b32cb279049ff764534fdc153bf37b00c6a004 Mon Sep 17 00:00:00 2001 From: Roman Tetelman Date: Sat, 3 Oct 2009 13:12:54 +0000 Subject: * store credits in pers.credit instead of ps.stats[ PERS_CREDIT ] --- src/game/g_cmds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/g_cmds.c') 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 ); } } -- cgit