Skip to content

Commit

Permalink
Actually make the flame for the bass drum not render
Browse files Browse the repository at this point in the history
  • Loading branch information
mdsitton committed Sep 27, 2011
1 parent 5774c45 commit 70563a6
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/Instrument.py
Expand Up @@ -915,7 +915,7 @@ def renderAnimatedFlames(self, song, pos):
if (event.played or event.hopod):
if not self.disableFlameSFX:
if self.isDrum:
if event.number == 4: #make the bass drum not render a flame
if event.number == 0: #make the bass drum not render a flame
continue

x = (self.strings / 2 +.5 - event.number) * w
Expand Down Expand Up @@ -988,13 +988,10 @@ def renderFlames(self, song, pos):
if not self.disableFlameSFX:

if self.isDrum:
if event.number == 4: #make the bass drum not render a flame
if event.number == 0:
continue

if event.number == 0: #correct for colors on the drums
flameColor = self.flameColors[4]
else:
flameColor = self.flameColors[event.number]
flameColor = self.flameColors[event.number]

x = (self.strings / 2 +.5 - event.number) * w

Expand Down

0 comments on commit 70563a6

Please sign in to comment.