[Scummvm-git-logs] scummvm master -> 3a78da3f7ab62cc7347da574ac6c75a41fd7f7ae
elasota
noreply at scummvm.org
Thu May 4 05:16:05 UTC 2023
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:
3a78da3f7a VCRUISE: Fix no-Vorbis build.
Commit: 3a78da3f7ab62cc7347da574ac6c75a41fd7f7ae
https://github.com/scummvm/scummvm/commit/3a78da3f7ab62cc7347da574ac6c75a41fd7f7ae
Author: elasota (ejlasota at gmail.com)
Date: 2023-05-04T01:15:24-04:00
Commit Message:
VCRUISE: Fix no-Vorbis build.
Changed paths:
engines/vcruise/runtime.cpp
diff --git a/engines/vcruise/runtime.cpp b/engines/vcruise/runtime.cpp
index fb660888cd1..b21a33cb0eb 100644
--- a/engines/vcruise/runtime.cpp
+++ b/engines/vcruise/runtime.cpp
@@ -2932,6 +2932,7 @@ void Runtime::startScoreSection() {
if (!_musicActive)
return;
+#ifdef USE_VORBIS
Common::HashMap<Common::String, ScoreTrackDef>::const_iterator trackIt = _scoreDefs.find(_scoreTrack);
if (trackIt != _scoreDefs.end()) {
const ScoreTrackDef::ScoreSectionMap_t §ionMap = trackIt->_value.sections;
@@ -2962,6 +2963,7 @@ void Runtime::startScoreSection() {
}
}
}
+#endif
}
void Runtime::changeAnimation(const AnimationDef &animDef, bool consumeFPSOverride) {
More information about the Scummvm-git-logs
mailing list