We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 93a3e10 commit 4b8bba4Copy full SHA for 4b8bba4
1 file changed
game/gothic.cpp
@@ -860,7 +860,7 @@ float Gothic::settingsSoundVolume() {
860
const bool soundEnabled = settingsGetI("SOUND","soundEnabled")!=0;
861
const float soundVolume = settingsGetF("SOUND","soundVolume");
862
863
- return soundEnabled ? 0.f : soundVolume;
+ return soundEnabled ? soundVolume : 0.f;
864
}
865
866
void Gothic::flushSettings() {
0 commit comments