mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-03 07:11:49 +00:00
DIRECTOR: Dump Cast script too
This commit is contained in:
parent
536bc29e54
commit
7c2c06b537
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user