[Scummvm-git-logs] scummvm master -> d269f7913e9efcf76e93f420d8e9579c9bda28b0
bluegr
noreply at scummvm.org
Sat Feb 7 11:33:57 UTC 2026
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .
Summary:
d269f7913e NEVERHOOD: Fix radio music playing when radio is not enabled
Commit: d269f7913e9efcf76e93f420d8e9579c9bda28b0
https://github.com/scummvm/scummvm/commit/d269f7913e9efcf76e93f420d8e9579c9bda28b0
Author: Player701 (Player701 at users.noreply.github.com)
Date: 2026-02-07T13:33:54+02:00
Commit Message:
NEVERHOOD: Fix radio music playing when radio is not enabled
Changed paths:
engines/neverhood/gamemodule.cpp
diff --git a/engines/neverhood/gamemodule.cpp b/engines/neverhood/gamemodule.cpp
index 6240ca67d57..e9ade8ca414 100644
--- a/engines/neverhood/gamemodule.cpp
+++ b/engines/neverhood/gamemodule.cpp
@@ -330,6 +330,8 @@ void GameModule::initCrystalColorsPuzzle() {
}
uint32 GameModule::getCurrRadioMusicFileHash() {
+ if (!getGlobalVar(V_RADIO_ENABLED))
+ return 0;
uint musicIndex = getGlobalVar(V_CURR_RADIO_MUSIC_INDEX);
return (musicIndex % 5 != 0) ? 0 : kRadioMusicFileHashes[CLIP<uint>(musicIndex / 5, 0, 17)];
}
More information about the Scummvm-git-logs
mailing list