diff options
author | Rui <rui.minetest@gmail.com> | 2017-06-15 00:21:08 +0900 |
---|---|---|
committer | Loïc Blot <nerzhul@users.noreply.github.com> | 2017-06-14 17:21:08 +0200 |
commit | bbe3dd9a7a3fc0f17a6ab61c70d9ea95962915df (patch) | |
tree | c5fbcb8e4cb307dd142848ba579b5b57c3fbcbc2 /src/sound_openal.cpp | |
parent | ddcd0263442df2066d7afa0ec1180fe12da99e59 (diff) | |
download | minetest-bbe3dd9a7a3fc0f17a6ab61c70d9ea95962915df.tar.gz minetest-bbe3dd9a7a3fc0f17a6ab61c70d9ea95962915df.tar.bz2 minetest-bbe3dd9a7a3fc0f17a6ab61c70d9ea95962915df.zip |
Fix no sound bug (#5968)
Diffstat (limited to 'src/sound_openal.cpp')
-rw-r--r-- | src/sound_openal.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sound_openal.cpp b/src/sound_openal.cpp index 0b53572c4..1772ee817 100644 --- a/src/sound_openal.cpp +++ b/src/sound_openal.cpp @@ -576,7 +576,7 @@ public: } int handle = -1; if (fade > 0) { - handle = playSoundRaw(buf, loop, 0.0f, 0.0f); + handle = playSoundRaw(buf, loop, 0.0f, pitch); fadeSound(handle, fade, volume); } else { handle = playSoundRaw(buf, loop, volume, pitch); |