diff options
author | enneract <trem.redman@gmail.com> | 2014-12-21 15:51:34 +0100 |
---|---|---|
committer | enneract <trem.redman@gmail.com> | 2014-12-21 15:51:34 +0100 |
commit | 2ebd3bd186ad7906e7b8be74036c9a8852bc815f (patch) | |
tree | 74c44a915a25f1c6d902162c3f997ca70ca07a97 /src/game | |
parent | 8fb5f69c256b5a666f739240b3c2b7ea63a7dc8f (diff) |
Fix a bug in G_CalculateCombatRanks.
Diffstat (limited to 'src/game')
-rw-r--r-- | src/game/g_combat.c | 2 |
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 ); } } |