Skip to content

Commit

Permalink
DIRECTOR: Fix trans initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitry Iskrich authored and sev- committed Aug 3, 2016
1 parent f675f9b commit 632a075
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions engines/director/score.cpp
Expand Up @@ -655,6 +655,7 @@ void Score::processEvents() {
Frame::Frame(DirectorEngine *vm) {
_vm = vm;
_transDuration = 0;
_transType = kTransNone;
_transArea = 0;
_transChunkSize = 0;
_tempo = 0;
Expand Down
3 changes: 2 additions & 1 deletion engines/director/score.h
Expand Up @@ -110,7 +110,8 @@ enum ScriptType {
};

enum TransitionType {
kTransWipeRight = 1,
kTransNone,
kTransWipeRight,
kTransWipeLeft,
kTransWipeDown,
kTransWipeUp,
Expand Down

0 comments on commit 632a075

Please sign in to comment.