summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game/g_combat.c2
1 files changed, 1 insertions, 1 deletions
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 );
}
}