Remove leftover debug line

This commit is contained in:
Miloslav Číž 2020-10-02 18:06:58 +02:00
parent 8fe888b870
commit 8e853b05e6

View File

@ -328,10 +328,8 @@ void SFG_enableMusic(uint8_t enable)
void SFG_playSound(uint8_t soundIndex, uint8_t volume) void SFG_playSound(uint8_t soundIndex, uint8_t volume)
{ {
volume = 255;
uint16_t pos = audioPos; uint16_t pos = audioPos;
uint8_t volumeScale = 1 << (volume / 32); uint16_t volumeScale = 1 << (volume / 32);
for (int i = 0; i < SFG_SFX_SAMPLE_COUNT; ++i) for (int i = 0; i < SFG_SFX_SAMPLE_COUNT; ++i)
{ {