From 7240791be7cbc6d243071b9c0cd18feaa096e7b7 Mon Sep 17 00:00:00 2001 From: IronClawTrem Date: Thu, 26 Mar 2020 04:13:52 +0000 Subject: fix !practise syntax --- src/game/g_active.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/game/g_active.c') diff --git a/src/game/g_active.c b/src/game/g_active.c index ddc0669..a6f246c 100644 --- a/src/game/g_active.c +++ b/src/game/g_active.c @@ -1472,7 +1472,6 @@ void ClientThink_real( gentity_t *ent ) int msec; usercmd_t *ucmd; int real_pm_type; - pTeam_t team; client = ent->client; @@ -1925,12 +1924,12 @@ void ClientThink_real( gentity_t *ent ) if( g_practise.integer ) { - if( team = PTE_ALIENS ) + if( client->pers.teamSelection == PTE_ALIENS ) { if( client->pers.credit < 9 ) G_AddCreditToClient( client, 9, qtrue ); } - if( team = PTE_HUMANS ) + if( client->pers.teamSelection == PTE_HUMANS ) { if( client->pers.credit < 2000 ) G_AddCreditToClient( client, 2000, qtrue ); -- cgit