Skip to content

Commit

Permalink
PINK: fix wrong deleting of conflicting contexts
Browse files Browse the repository at this point in the history
  • Loading branch information
voltya authored and sev- committed Jun 28, 2018
1 parent 6a2dc6f commit 3134b2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/pink/objects/sequences/sequencer.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 3134b2d

Please sign in to comment.