diff options
Diffstat (limited to 'sound/mixer.cpp')
-rw-r--r-- | sound/mixer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/mixer.cpp b/sound/mixer.cpp index 7cb75050cf..daa9ab842d 100644 --- a/sound/mixer.cpp +++ b/sound/mixer.cpp @@ -211,7 +211,7 @@ void SoundMixer::set_volume(int volume) for (int i = 0; i < 128; i++) _volume_table[i] = i * volume ; - for (int i = -128; i < 0; i++) + for (i = -128; i < 0; i++) _volume_table[i+256] = i * volume ; } |