Skip to content

Commit 4b8bba4

Browse files
committed
fixup sound
1 parent 93a3e10 commit 4b8bba4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

game/gothic.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -860,7 +860,7 @@ float Gothic::settingsSoundVolume() {
860860
const bool soundEnabled = settingsGetI("SOUND","soundEnabled")!=0;
861861
const float soundVolume = settingsGetF("SOUND","soundVolume");
862862

863-
return soundEnabled ? 0.f : soundVolume;
863+
return soundEnabled ? soundVolume : 0.f;
864864
}
865865

866866
void Gothic::flushSettings() {

0 commit comments

Comments
 (0)