mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-15 17:35:37 +02:00
Fix no sound bug (#5968)
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user