projects
/
oweals
/
minetest.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Modernize client code (#6250)
[oweals/minetest.git]
/
src
/
sound_openal.cpp
diff --git
a/src/sound_openal.cpp
b/src/sound_openal.cpp
index 0b53572c428b645a8d87e7c3798db8f1959a88d7..1772ee817f8fc81e8675215ea9421d280ab1da5e 100644
(file)
--- 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);