diff options
Diffstat (limited to 'engines')
-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); } } |