From: Steinar H. Gunderson Date: Sun, 20 Feb 2005 17:05:28 +0000 (+0000) Subject: Don't show "need to qualify" if it's identical to "need to win" X-Git-Url: https://git.sesse.net/?p=ccbs;a=commitdiff_plain;h=98628c92a0eaca1fdbcd4a35b60b7fb78616c82a Don't show "need to qualify" if it's identical to "need to win" --- diff --git a/bigscreen/groupscreen.cpp b/bigscreen/groupscreen.cpp index b7f760c..2b4aa7d 100644 --- a/bigscreen/groupscreen.cpp +++ b/bigscreen/groupscreen.cpp @@ -429,7 +429,7 @@ void GroupScreen::draw(unsigned char *buf) y += 30; } - if (next_player->total + max_score_this_song > qualify_beat_worst_case) { + if (next_player->total + max_score_this_song > qualify_beat_worst_case && (qualify_beat_worst_case != win_beat)) { int qual_need = std::max(qualify_beat_worst_case - next_player->total + 1, 0U); if (qualify_beat_worst_case == qualify_beat_best_case) {