|
From: Tapio V. <aa...@us...> - 2009-12-11 07:35:11
|
Module: performous
Branch: dance
Commit: ed6d442826f150a06123a602438c4c352fd7e812
Author: Tapio Vierros <tap...@gm...>
Date: Fri Dec 11 08:22:55 2009 +0200
ScoreWindow not early also for dancers.
---
game/screen_sing.cc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/game/screen_sing.cc b/game/screen_sing.cc
index a347e69..135e2f9 100644
--- a/game/screen_sing.cc
+++ b/game/screen_sing.cc
@@ -329,7 +329,7 @@ void ScreenSing::draw() {
}
}
else if (!m_audio.isPlaying() || (status == Song::FINISHED
- && m_audio.getLength() - time <= (m_song->track_map.empty() ? 3.0 : 0.2) )) {
+ && m_audio.getLength() - time <= (m_song->track_map.empty() && m_song->danceTracks.empty() ? 3.0 : 0.2) )) {
// Time to create the score window
m_quitTimer.setValue(QUIT_TIMEOUT);
m_engine->kill(); // kill the engine thread (to avoid consuming memory)
|