aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2017-01-16 08:43:23 +0100
committerEugene Sandulenko2017-01-16 09:05:50 +0100
commit1d942944ee7da353741141a7b224b71183885b7c (patch)
tree20156268a8cb813ce9245ff56d6ec51d4da2fef6 /engines
parent541a7157f0d21ac68784db2c436daacfd2c6fcb3 (diff)
downloadscummvm-rg350-1d942944ee7da353741141a7b224b71183885b7c.tar.gz
scummvm-rg350-1d942944ee7da353741141a7b224b71183885b7c.tar.bz2
scummvm-rg350-1d942944ee7da353741141a7b224b71183885b7c.zip
DIRECTOR: Lingo: Fix initialization
Diffstat (limited to 'engines')
-rw-r--r--engines/director/lingo/lingo.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/director/lingo/lingo.cpp b/engines/director/lingo/lingo.cpp
index 1416b14c93..4a9b612649 100644
--- a/engines/director/lingo/lingo.cpp
+++ b/engines/director/lingo/lingo.cpp
@@ -97,6 +97,7 @@ Lingo::Lingo(DirectorEngine *vm) : _vm(vm) {
_currentScript = 0;
_currentScriptType = kMovieScript;
+ _currentEntityId = 0;
_pc = 0;
_returning = false;
_indef = false;
@@ -112,6 +113,8 @@ Lingo::Lingo(DirectorEngine *vm) : _vm(vm) {
_floatPrecision = 4;
_floatPrecisionFormat = "%.4f";
+ _cursorOnStack = false;
+
_exitRepeat = false;
_localvars = NULL;