Commit 5a924de
committed
fix: clamp sound effect volume to range [0, 1]
libGDX only supports values between 0 and 1 and values above 1 actually caused the sound to not be played on certain Android devices.1 parent 62677a4 commit 5a924de
File tree
1 file changed
+1
-1
lines changed- engine/src/main/java/org/destinationsol/assets/sound
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
227 | 227 | | |
228 | 228 | | |
229 | 229 | | |
230 | | - | |
| 230 | + | |
231 | 231 | | |
232 | 232 | | |
233 | 233 | | |
| |||
0 commit comments