aboutsummaryrefslogtreecommitdiff
path: root/engines/pink/sequences/sequencer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/pink/sequences/sequencer.cpp')
-rw-r--r--engines/pink/sequences/sequencer.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/pink/sequences/sequencer.cpp b/engines/pink/sequences/sequencer.cpp
index 4f7099fdfc..68b72c1ecd 100644
--- a/engines/pink/sequences/sequencer.cpp
+++ b/engines/pink/sequences/sequencer.cpp
@@ -54,7 +54,11 @@ void Sequencer::authorSequence(Sequence *sequence, bool unk) {
if (sequence){
_context = new SequenceContext(sequence, this);
+ //unload array of unknown objects
+ _currentSequenceName = sequence->getName();
+
}
+ else _currentSequenceName.clear();
}
} // End of namespace Pink \ No newline at end of file