diff options
-rw-r--r-- | engines/pink/objects/sequences/sequencer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/pink/objects/sequences/sequencer.cpp b/engines/pink/objects/sequences/sequencer.cpp index b10d41437e..9ba10aa449 100644 --- a/engines/pink/objects/sequences/sequencer.cpp +++ b/engines/pink/objects/sequences/sequencer.cpp @@ -70,7 +70,7 @@ void Sequencer::authorSequence(Sequence *sequence, bool loadingSave) { SequenceContext *context = new SequenceContext(sequence); SequenceContext *confilct; - while(confilct = findConfilictingContextWith(context)) + while((confilct = findConfilictingContextWith(context)) != nullptr) confilct->getSequence()->forceEnd(); _context = context; |