|
From: Lasse Kärkkäi. <tr...@us...> - 2009-08-18 02:04:12
|
Module: performous
Branch: master
Commit: 5a1fff4445a2e546ba2bcedf586495853cf627c4
Author: Lasse Karkkainen <tro...@tr...>
Date: Tue Aug 18 05:03:17 2009 +0300
No tappable notes for drums (was causing rendering bug).
---
game/guitargraph.cc | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/game/guitargraph.cc b/game/guitargraph.cc
index ee525f7..358cf36 100644
--- a/game/guitargraph.cc
+++ b/game/guitargraph.cc
@@ -476,7 +476,8 @@ void GuitarGraph::updateChords() {
++c.polyphony;
++pos[fret];
}
- if (c.polyphony == 1) {
+ // Check if the chord is tappable
+ if (!m_drums && c.polyphony == 1) {
c.tappable = true;
if (m_chords.empty() || m_chords.back().fret[tapfret]) c.tappable = false;
if (lastEnd + tapMaxDelay < t) c.tappable = false;
|