diff options
author | whiterandrek | 2018-06-20 14:25:29 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2018-06-28 23:51:32 +0200 |
commit | 3134b2d2308ee122dc23869392133cb560195cb3 (patch) | |
tree | 1fb139e805620070be69865f397ea3c76451c236 /engines/pink/objects | |
parent | 6a2dc6fa0f4320c1aadc273b5fa17de34c6495f6 (diff) | |
download | scummvm-rg350-3134b2d2308ee122dc23869392133cb560195cb3.tar.gz scummvm-rg350-3134b2d2308ee122dc23869392133cb560195cb3.tar.bz2 scummvm-rg350-3134b2d2308ee122dc23869392133cb560195cb3.zip |
PINK: fix wrong deleting of conflicting contexts
Diffstat (limited to 'engines/pink/objects')
-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; |