[Scummvm-git-logs] scummvm master -> daf07e95afebb0968e7a3b22c363aa7e9e3af489
Strangerke
noreply at scummvm.org
Wed Jan 15 22:42:21 UTC 2025
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
daf07e95af GOT: Fix PVS-Studio issues in got.cpp (V562)
Commit: daf07e95afebb0968e7a3b22c363aa7e9e3af489
https://github.com/scummvm/scummvm/commit/daf07e95afebb0968e7a3b22c363aa7e9e3af489
Author: Strangerke (arnaud.boutonne at gmail.com)
Date: 2025-01-15T23:42:14+01:00
Commit Message:
GOT: Fix PVS-Studio issues in got.cpp (V562)
Changed paths:
engines/got/got.cpp
diff --git a/engines/got/got.cpp b/engines/got/got.cpp
index afbf296cc01..bb8b66dce81 100644
--- a/engines/got/got.cpp
+++ b/engines/got/got.cpp
@@ -161,7 +161,7 @@ void GotEngine::savegameLoaded() {
if (!_G(sound_flag))
_G(setup).dig_sound = 0;
if (_G(setup).music == 1) {
- if (GAME1 == 1 && _G(current_area) == 59) {
+ if (GAME1 && _G(current_area) == 59) {
music_play(5, true);
} else {
music_play(_G(level_type), true);
More information about the Scummvm-git-logs
mailing list