Skip to content
Permalink
Browse files

game: hide win prob in statsdump when SR is disabled, refs #403

  • Loading branch information
rmarquis committed Feb 11, 2020
1 parent 2bee354 commit 00f6cf428b4553a6b90e123dadb71bdd057b7dbd
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/game/g_match.c
@@ -773,7 +773,7 @@ void G_printMatchInfo(gentity_t *ent)
CP(va("sc \"\n^2Map bias: ^1%+.1f^7/^$%+.1f^7 pct\n^2Win prob: ^1%+.1f^7/^$%+.1f^7 pct\n\" 0",
100.f * (level.mapProb - 0.5f), 100.f * (0.5f - level.mapProb), 100.f * level.axisProb, 100.f * level.alliesProb));
}
else
else if (g_skillRating.integer)
{
CP(va("sc \"\n^2Win prob: ^1%+.1f^7/^$%+.1f^7 pct\n\" 0", 100.f * level.axisProb, 100.f * level.alliesProb));
}

0 comments on commit 00f6cf4

Please sign in to comment.
You can’t perform that action at this time.