aboutsummaryrefslogtreecommitdiff
path: root/engines/access/debugger.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2014-11-13 20:30:41 -0500
committerPaul Gilbert2014-12-12 22:32:24 -0500
commitc4a5c36290e59d47272cb47244f294696cc6c5c1 (patch)
treeeaaea2d076f706c5f4326af9088e7442ccef3292 /engines/access/debugger.cpp
parent4ca5cc5ab4409601ed7458d08bf08c79c96dc8f7 (diff)
downloadscummvm-rg350-c4a5c36290e59d47272cb47244f294696cc6c5c1.tar.gz
scummvm-rg350-c4a5c36290e59d47272cb47244f294696cc6c5c1.tar.bz2
scummvm-rg350-c4a5c36290e59d47272cb47244f294696cc6c5c1.zip
ACCESS: Fix crash when talking to pilot on the plane
Diffstat (limited to 'engines/access/debugger.cpp')
-rw-r--r--engines/access/debugger.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/access/debugger.cpp b/engines/access/debugger.cpp
index 9a82168561..359b2e73a5 100644
--- a/engines/access/debugger.cpp
+++ b/engines/access/debugger.cpp
@@ -137,7 +137,7 @@ bool AmazonDebugger::Cmd_StartChapter(int argc, const char **argv) {
chapterScript[2] = ROOM_SCRIPT / 256;
chapterScript[3] = 0x80 + 75; // cmdChapter
chapterScript[4] = strToInt(argv[1]); // chapter number
- _vm->_scripts->setScript(new Resource(chapterScript, 5));
+ _vm->_scripts->setScript(new Resource(chapterScript, 5), true);
return false;
}