diff options
author | Eugene Sandulenko | 2017-01-13 21:56:19 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2017-01-13 21:56:38 +0100 |
commit | 7c2c06b537fbefec3f75c7b0a23be1c614df4f01 (patch) | |
tree | 4d94dbe132eeeb21ea31a21d0f1393b18323dbda | |
parent | 536bc29e547c7a5c62eb5fec8201067912dc6e15 (diff) | |
download | scummvm-rg350-7c2c06b537fbefec3f75c7b0a23be1c614df4f01.tar.gz scummvm-rg350-7c2c06b537fbefec3f75c7b0a23be1c614df4f01.tar.bz2 scummvm-rg350-7c2c06b537fbefec3f75c7b0a23be1c614df4f01.zip |
DIRECTOR: Dump Cast script too
-rw-r--r-- | engines/director/score.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/director/score.cpp b/engines/director/score.cpp index 052190f597..979d29dba2 100644 --- a/engines/director/score.cpp +++ b/engines/director/score.cpp @@ -521,6 +521,9 @@ void Score::loadCastData(Common::SeekableSubReadStreamEndian &stream, uint16 id, if (!ci->script.empty()) { //the script type here could be wrong! + if (ConfMan.getBool("dump_scripts")) + dumpScript(ci->script.c_str(), kCastScript, id); + _lingo->addCode(ci->script.c_str(), kCastScript, id); } } |