[Scummvm-cvs-logs] CVS: scummvm/simon debugger.cpp,1.3,1.4
Travis Howell
kirben at users.sourceforge.net
Tue Jan 27 18:18:35 CET 2004
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/queen graphics.cpp,1.92,1.93 logic.cpp,1.183,1.184 logic.h,1.116,1.117
- Next message: [Scummvm-cvs-logs] CVS: scummvm/simon debugger.cpp,1.5,1.6 debugger.h,1.2,1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm/simon
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv825/simon
Modified Files:
debugger.cpp
Log Message:
Add safety check.
Index: debugger.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/simon/debugger.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- debugger.cpp 27 Jan 2004 17:18:06 -0000 1.3
+++ debugger.cpp 27 Jan 2004 17:22:08 -0000 1.4
@@ -90,7 +90,8 @@
bool Debugger::Cmd_PlayVoice(int argc, const char **argv) {
if (argc > 1) {
uint voice = atoi(argv[1]);
- _vm->_sound->playVoice(voice);
+ if ((_vm->_game & GF_SIMON2 && voice < 3623) || (!(_vm->_game & GF_SIMON2) && voice < 1997))
+ _vm->_sound->playVoice(voice);
} else
DebugPrintf("Syntax: voice <soundnum>\n");
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/queen graphics.cpp,1.92,1.93 logic.cpp,1.183,1.184 logic.h,1.116,1.117
- Next message: [Scummvm-cvs-logs] CVS: scummvm/simon debugger.cpp,1.5,1.6 debugger.h,1.2,1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list