aboutsummaryrefslogtreecommitdiff
path: root/sky/debug.cpp
diff options
context:
space:
mode:
authorJoost Peters2004-10-22 18:45:35 +0000
committerJoost Peters2004-10-22 18:45:35 +0000
commitc8495dbf23b88cd5a1bcfc8aea7d2ba37096bd90 (patch)
tree3883f02ab372b35066d9e91e7c8b81c866d9ccb7 /sky/debug.cpp
parent41e0e8ce3c3a70a4ba8ffed189073204655d527b (diff)
downloadscummvm-rg350-c8495dbf23b88cd5a1bcfc8aea7d2ba37096bd90.tar.gz
scummvm-rg350-c8495dbf23b88cd5a1bcfc8aea7d2ba37096bd90.tar.bz2
scummvm-rg350-c8495dbf23b88cd5a1bcfc8aea7d2ba37096bd90.zip
correct music/fx for section 6
svn-id: r15656
Diffstat (limited to 'sky/debug.cpp')
-rw-r--r--sky/debug.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sky/debug.cpp b/sky/debug.cpp
index c1dd9cd016..54fb33519f 100644
--- a/sky/debug.cpp
+++ b/sky/debug.cpp
@@ -1469,7 +1469,7 @@ bool Debugger::Cmd_Section(int argc, const char **argv) {
int section = atoi(argv[1]);
if (section >= 0 && section <= 6) {
- _logic->fnEnterSection(section % 6, 0, 0);
+ _logic->fnEnterSection(section == 6 ? 4 : section, 0, 0);
_logic->fnAssignBase(ID_FOSTER, baseId[section], 0);
SkyEngine::fetchCompact(ID_FOSTER)->extCompact->megaSet = 0;
} else {