aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorDmitry Iskrich2016-06-18 18:34:21 +0300
committerEugene Sandulenko2016-08-03 23:40:36 +0200
commit632a07500fb16fbaa3c82f0ba95e803efee471de (patch)
treeb9dee4d88c1ac0371799569d671188fe3b2dda68 /engines
parentf675f9be936e89bcf9985d660c17510bb497dcf7 (diff)
downloadscummvm-rg350-632a07500fb16fbaa3c82f0ba95e803efee471de.tar.gz
scummvm-rg350-632a07500fb16fbaa3c82f0ba95e803efee471de.tar.bz2
scummvm-rg350-632a07500fb16fbaa3c82f0ba95e803efee471de.zip
DIRECTOR: Fix trans initialization
Diffstat (limited to 'engines')
-rw-r--r--engines/director/score.cpp1
-rw-r--r--engines/director/score.h3
2 files changed, 3 insertions, 1 deletions
diff --git a/engines/director/score.cpp b/engines/director/score.cpp
index 9bbb0d3ada..7b56e55f61 100644
--- a/engines/director/score.cpp
+++ b/engines/director/score.cpp
@@ -655,6 +655,7 @@ void Score::processEvents() {
Frame::Frame(DirectorEngine *vm) {
_vm = vm;
_transDuration = 0;
+ _transType = kTransNone;
_transArea = 0;
_transChunkSize = 0;
_tempo = 0;
diff --git a/engines/director/score.h b/engines/director/score.h
index 626e47b415..4546b42e16 100644
--- a/engines/director/score.h
+++ b/engines/director/score.h
@@ -110,7 +110,8 @@ enum ScriptType {
};
enum TransitionType {
- kTransWipeRight = 1,
+ kTransNone,
+ kTransWipeRight,
kTransWipeLeft,
kTransWipeDown,
kTransWipeUp,