[Scummvm-git-logs] scummvm master -> d2b7ddc01e9e3e2952cdbcb020614c79ca2a6541
mduggan
noreply at scummvm.org
Sun Nov 3 10:49:26 UTC 2024
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:
d2b7ddc01e DGDS: Fix compiler warning
Commit: d2b7ddc01e9e3e2952cdbcb020614c79ca2a6541
https://github.com/scummvm/scummvm/commit/d2b7ddc01e9e3e2952cdbcb020614c79ca2a6541
Author: Matthew Duggan (mgithub at guarana.org)
Date: 2024-11-03T21:48:56+11:00
Commit Message:
DGDS: Fix compiler warning
Changed paths:
engines/dgds/ads.cpp
diff --git a/engines/dgds/ads.cpp b/engines/dgds/ads.cpp
index 576f66f51b6..5d6fe10a59c 100644
--- a/engines/dgds/ads.cpp
+++ b/engines/dgds/ads.cpp
@@ -752,7 +752,7 @@ int16 ADSInterpreter::getStateForSceneOp(uint16 segnum) {
if (idx < 0)
return 0;
if (!(_adsData->_state[idx] & 4)) {
- for (const Common::SharedPtr<TTMSeq> seq: _adsData->_usedSeqs[idx]) {
+ for (const Common::SharedPtr<TTMSeq> &seq: _adsData->_usedSeqs[idx]) {
if (!seq)
return 0;
if (seq->_runFlag != kRunTypeStopped && !seq->_selfLoop)
More information about the Scummvm-git-logs
mailing list