Skip to content

Commit

Permalink
Fix crash with freeStyleFlames
Browse files Browse the repository at this point in the history
  • Loading branch information
mdsitton committed Jul 27, 2011
1 parent cfef777 commit 6cc6719
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/Drum.py
Expand Up @@ -668,8 +668,7 @@ def render(self, visibility, song, pos, controls, killswitch):
self.renderFreestyleLanes(visibility, song, pos, controls) #MFH - render the lanes on top of the notes.
self.renderFrets(visibility, song, controls)

if self.hitFlamesPresent: #MFH - only when present!
self.renderFreestyleFlames(visibility, controls) #MFH - freestyle hit flames
self.renderFreestyleFlames(visibility, controls) #MFH - freestyle hit flames

else:

Expand Down
3 changes: 1 addition & 2 deletions src/Guitar.py
Expand Up @@ -304,8 +304,7 @@ def render(self, visibility, song, pos, controls, killswitch):
self.renderFreestyleLanes(visibility, song, pos, None) #MFH - render the lanes on top of the notes.
self.renderFrets(visibility, song, controls)

if self.hitFlamesPresent: #MFH - only if present!
self.renderFreestyleFlames(visibility, controls) #MFH - freestyle hit flames
self.renderFreestyleFlames(visibility, controls) #MFH - freestyle hit flames

else:
self.renderTails(visibility, song, pos, killswitch)
Expand Down

0 comments on commit 6cc6719

Please sign in to comment.