Skip to content

Commit 1f3caac

Browse files
committed
remove outdated multiplier in ambient sound
#913
1 parent 4b8bba4 commit 1f3caac

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

game/game/gamesession.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -225,10 +225,8 @@ void GameSession::save(Serialize &fout, std::string_view name, const Pixmap& scr
225225
}
226226

227227
void GameSession::setupSettings() {
228-
constexpr const float soundScale = 2.f;
229-
230-
const float soundVolume = Gothic::inst().settingsGetF("SOUND","soundVolume");
231-
sound.setGlobalVolume(soundVolume*soundScale);
228+
const float soundVolume = Gothic::settingsSoundVolume();
229+
sound.setGlobalVolume(soundVolume);
232230
}
233231

234232
void GameSession::setWorld(std::unique_ptr<World> &&w) {

0 commit comments

Comments
 (0)