[Scummvm-cvs-logs] scummvm master -> 1e1cc7309f7ee098f8af8f85b47265676dd2899b
wjp
wjp at usecode.org
Sat Apr 6 22:12:23 CEST 2013
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:
1e1cc7309f SCI: Further clarify comment
Commit: 1e1cc7309f7ee098f8af8f85b47265676dd2899b
https://github.com/scummvm/scummvm/commit/1e1cc7309f7ee098f8af8f85b47265676dd2899b
Author: Willem Jan Palenstijn (wjp at usecode.org)
Date: 2013-04-06T13:11:15-07:00
Commit Message:
SCI: Further clarify comment
Changed paths:
engines/sci/sound/soundcmd.cpp
diff --git a/engines/sci/sound/soundcmd.cpp b/engines/sci/sound/soundcmd.cpp
index f3375e7..143a2d5 100644
--- a/engines/sci/sound/soundcmd.cpp
+++ b/engines/sci/sound/soundcmd.cpp
@@ -404,7 +404,7 @@ reg_t SoundCommandParser::kDoSoundFade(int argc, reg_t *argv, reg_t acc) {
musicSlot->fadeTicker = 0;
// argv[4] is a boolean. Scripts sometimes pass strange values,
- // but SSCI ignores these. (Verified in KQ6.)
+ // but SSCI only checks for zero/non-zero. (Verified in KQ6.)
// KQ6 room 460 even passes an object, but treating this as 'true'
// seems fine in that case.
musicSlot->stopAfterFading = (argc == 5) ? (argv[4].toUint16() != 0) : false;
More information about the Scummvm-git-logs
mailing list