diff options
author | Dmitry Iskrich | 2016-06-18 18:34:21 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2016-08-03 23:40:36 +0200 |
commit | 632a07500fb16fbaa3c82f0ba95e803efee471de (patch) | |
tree | b9dee4d88c1ac0371799569d671188fe3b2dda68 | |
parent | f675f9be936e89bcf9985d660c17510bb497dcf7 (diff) | |
download | scummvm-rg350-632a07500fb16fbaa3c82f0ba95e803efee471de.tar.gz scummvm-rg350-632a07500fb16fbaa3c82f0ba95e803efee471de.tar.bz2 scummvm-rg350-632a07500fb16fbaa3c82f0ba95e803efee471de.zip |
DIRECTOR: Fix trans initialization
-rw-r--r-- | engines/director/score.cpp | 1 | ||||
-rw-r--r-- | engines/director/score.h | 3 |
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, |