|
From: Tapio V. <aa...@us...> - 2010-01-03 20:09:12
|
Module: performous
Branch: master
Commit: 7e5a67fbb02cbbd34db4cf5d09a5c351106b52f6
Author: Tapio Vierros <tap...@gm...>
Date: Sun Jan 3 22:03:55 2010 +0200
Remove flame from end of holds.
(May cause confusion if followed immediately by another note).
---
game/guitargraph.cc | 7 +------
1 files changed, 1 insertions(+), 6 deletions(-)
diff --git a/game/guitargraph.cc b/game/guitargraph.cc
index 98b516a..ea464ad 100644
--- a/game/guitargraph.cc
+++ b/game/guitargraph.cc
@@ -576,13 +576,8 @@ void GuitarGraph::draw(double time) {
c.r += glow;
c.g += glow;
c.b += glow;
- if (glow > 0.5f && tEnd < 0.1f && it->hitAnim[fret].get() == 0.0) {
+ if (glow > 0.5f && tEnd < 0.1f && it->hitAnim[fret].get() == 0.0)
it->hitAnim[fret].setTarget(1.0);
- if (it->end - it->begin > 2 * maxTolerance) {
- m_flames[fret].push_back(AnimValue(0.0, flameSpd));
- m_flames[fret].back().setTarget(1.0);
- }
- }
// Call the actual note drawing function
drawNote(fret, c, tBeg, tEnd, whammy, it->tappable, glow > 0.5f, it->hitAnim[fret].get(),
it->releaseTimes[fret] > 0.0 ? it->releaseTimes[fret] - time : 0.0);
|