summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/game/g_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_main.c b/src/game/g_main.c
index ac3d55f..8971db2 100644
--- a/src/game/g_main.c
+++ b/src/game/g_main.c
@@ -2709,7 +2709,7 @@ static float AntistackScoreBias(int alien_score, int human_score)
{
float bias;
- bias = log(alien_score / human_score * g_antistackScoreBias.value);
+ bias = log((float)alien_score / human_score * g_antistackScoreBias.value);
if (fabsf(bias) < g_antistackScoreBiasThreshold.value)
return 0.0f;