diff options
author | Eugene Sandulenko | 2016-06-26 13:07:20 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-08-03 23:40:36 +0200 |
commit | 125600a91f1770046ca9d3206282d73b1d3e31c5 (patch) | |
tree | 0e990d71b8b69e208c6c4f55d1ae80b34576a5df /engines/director/lingo/lingo.cpp | |
parent | 3d543c62ba44013d89af5bd0804147e1d6c6c56b (diff) | |
download | scummvm-rg350-125600a91f1770046ca9d3206282d73b1d3e31c5.tar.gz scummvm-rg350-125600a91f1770046ca9d3206282d73b1d3e31c5.tar.bz2 scummvm-rg350-125600a91f1770046ca9d3206282d73b1d3e31c5.zip |
DIRECTOR: Lingo: Initial implementation of c_procret()
Diffstat (limited to 'engines/director/lingo/lingo.cpp')
-rw-r--r-- | engines/director/lingo/lingo.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/director/lingo/lingo.cpp b/engines/director/lingo/lingo.cpp index 332ee9356c..b65fd81d9a 100644 --- a/engines/director/lingo/lingo.cpp +++ b/engines/director/lingo/lingo.cpp @@ -81,6 +81,7 @@ Lingo::Lingo(DirectorEngine *vm) : _vm(vm) { _eventHandlerTypes[t->handler] = t->name; _currentScript = 0; + _currentScriptType = kMovieScript; _pc = 0; _returning = false; _indef = false; @@ -118,6 +119,7 @@ void Lingo::addCode(Common::String code, ScriptType type, uint16 id) { } _currentScript = new ScriptData; + _currentScriptType = type; _scripts[type][id] = _currentScript; parse(code.c_str()); |