]> git.sesse.net Git - ccbs/commitdiff
Don't show "need to qualify" if it's identical to "need to win"
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 20 Feb 2005 17:05:28 +0000 (17:05 +0000)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 20 Feb 2005 17:05:28 +0000 (17:05 +0000)
bigscreen/groupscreen.cpp

index b7f760c4fdfacb6984eb0c7bafdee8c3aae37365..2b4aa7d7369160b42ec0275c616451eb4caefb89 100644 (file)
@@ -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) {