diff options
| author | Crystalwarrior <varsash@gmail.com> | 2019-10-01 04:58:57 +0300 |
|---|---|---|
| committer | Crystalwarrior <varsash@gmail.com> | 2019-10-01 04:58:57 +0300 |
| commit | 292c425c7895afcd8a545afa40dffefea803aabc (patch) | |
| tree | c61e0d2bf4c293fde09dea1f12bc15de4d924f68 /include | |
| parent | 0eccf1ba2285bfc2ffe812cd0a2cdee778053171 (diff) | |
Fix music volume being weird due to m_volume being shared by ambience and music at the same time
Fix version= being wrong
Diffstat (limited to 'include')
| -rw-r--r-- | include/aomusicplayer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/aomusicplayer.h b/include/aomusicplayer.h index 9ce7485..15014af 100644 --- a/include/aomusicplayer.h +++ b/include/aomusicplayer.h @@ -37,7 +37,7 @@ private: AOApplication *ao_app; bool m_looping = false; - int m_volume = 0; + int m_volume[4] = {0, 0, 0, 0}; // Channel 0 = music // Channel 1 = ambience |
