aboutsummaryrefslogtreecommitdiff
path: root/scumm/debugger.cpp
diff options
context:
space:
mode:
authorMax Horn2004-09-02 17:29:48 +0000
committerMax Horn2004-09-02 17:29:48 +0000
commitfeb4d7950639819b5c8b723d5325b49e3305e36b (patch)
tree18d3487cb26aa417a9bc9a6470b8a47ffeaef692 /scumm/debugger.cpp
parent56c1c5cbaec69c258eaab26fbe55f82db95fd2a8 (diff)
downloadscummvm-rg350-feb4d7950639819b5c8b723d5325b49e3305e36b.tar.gz
scummvm-rg350-feb4d7950639819b5c8b723d5325b49e3305e36b.tar.bz2
scummvm-rg350-feb4d7950639819b5c8b723d5325b49e3305e36b.zip
cleanup
svn-id: r14866
Diffstat (limited to 'scumm/debugger.cpp')
-rw-r--r--scumm/debugger.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/debugger.cpp b/scumm/debugger.cpp
index 17df7b036f..422ed1f13f 100644
--- a/scumm/debugger.cpp
+++ b/scumm/debugger.cpp
@@ -161,8 +161,8 @@ bool ScummDebugger::Cmd_IMuse(int argc, const char **argv) {
if (argc > 2 && (!strcmp(argv[2], "random") || atoi(argv[2]) != 0)) {
int sound = atoi(argv[2]);
if (!strcmp(argv[2], "random")) {
- DebugPrintf("Selecting from %d songs...\n", _vm->getNumSounds());
- sound = _vm->_rnd.getRandomNumber(_vm->getNumSounds());
+ DebugPrintf("Selecting from %d songs...\n", _vm->_numSounds);
+ sound = _vm->_rnd.getRandomNumber(_vm->_numSounds);
}
_vm->ensureResourceLoaded(rtSound, sound);
_vm->_musicEngine->startSound(sound);