From 2ebd3bd186ad7906e7b8be74036c9a8852bc815f Mon Sep 17 00:00:00 2001 From: enneract Date: Sun, 21 Dec 2014 15:51:34 +0100 Subject: Fix a bug in G_CalculateCombatRanks. --- src/game/g_combat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/game/g_combat.c b/src/game/g_combat.c index 4ed8e8b..a9c3999 100644 --- a/src/game/g_combat.c +++ b/src/game/g_combat.c @@ -1957,7 +1957,7 @@ void G_CalculateCombatRanks( void ) for( i = 0; i < sample_count; i++ ) { - float *skill = &samples[ i ].ent->client->pers.combatRanks[ weapon ].skill; + float *skill = &samples[ i ].ent->client->pers.combatRanks[ weapon ].skill_pc; (*skill) = 1.0f - (*skill) / ( (float)rank + 1 ); } } -- cgit