aboutsummaryrefslogtreecommitdiff
path: root/src/common/settings.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-07-15 18:03:11 -0400
committerGitHub <noreply@github.com>2021-07-15 18:03:11 -0400
commit24f798804ce9aa28bb49298300373607e2089232 (patch)
treed94ce6ea5cf9d5d7ff384454ffe7203bd31774c8 /src/common/settings.cpp
parent7f0f53bf923fe15e38dcf010fccd3e6ca5fd9d99 (diff)
parent4e2d71a8ce739d6c32a848e6800b47205a5c3fea (diff)
Merge pull request #6579 from ameerj/float-settings
settings: Eliminate usage of float-point setting values
Diffstat (limited to 'src/common/settings.cpp')
-rw-r--r--src/common/settings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/settings.cpp b/src/common/settings.cpp
index e1973af853..bf55143863 100644
--- a/src/common/settings.cpp
+++ b/src/common/settings.cpp
@@ -103,7 +103,7 @@ float Volume() {
if (values.audio_muted) {
return 0.0f;
}
- return values.volume.GetValue();
+ return values.volume.GetValue() / 100.0f;
}
void RestoreGlobalState(bool is_powered_on) {