aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFilippos Karapetis2010-11-25 15:59:30 +0000
committerFilippos Karapetis2010-11-25 15:59:30 +0000
commit16006c78f5e64bbc7f012d1bf6c4a43bbe17ae31 (patch)
tree28b0793ee5cfd53c00ef7e4493e5e72904a6ed52 /engines
parent2c2f3a97e69184c23342fe77185cc37e87ed7813 (diff)
downloadscummvm-rg350-16006c78f5e64bbc7f012d1bf6c4a43bbe17ae31.tar.gz
scummvm-rg350-16006c78f5e64bbc7f012d1bf6c4a43bbe17ae31.tar.bz2
scummvm-rg350-16006c78f5e64bbc7f012d1bf6c4a43bbe17ae31.zip
SCI: Fixed a bug in the show_instruments console command
svn-id: r54477
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/console.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/sci/console.cpp b/engines/sci/console.cpp
index 7dfafba8ae..4d458a42c8 100644
--- a/engines/sci/console.cpp
+++ b/engines/sci/console.cpp
@@ -974,15 +974,14 @@ bool Console::cmdShowInstruments(int argc, const char **argv) {
DebugPrintf(" %d", instrument);
instruments[instrument]++;
instrumentsSongs[instrument][itr->getNumber()] = true;
+ } else {
+ channelData++;
}
break;
case 0xD:
channelData++; // param1
break;
case 0xB:
- channelData++; // param1
- channelData++; // param2
- break;
case 0x8:
case 0x9:
case 0xA: