aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Prykhodko2018-06-24 14:46:45 +0300
committerEugene Sandulenko2018-06-28 23:51:32 +0200
commit8cbdc4b63f45b844014610b9c5eb7dd045bcba61 (patch)
tree273a76f0241ac2cf03021b9f0525e0b583ce8717
parent0f596eb69a05a3fbff49b4bc01c881c8d6231352 (diff)
downloadscummvm-rg350-8cbdc4b63f45b844014610b9c5eb7dd045bcba61.tar.gz
scummvm-rg350-8cbdc4b63f45b844014610b9c5eb7dd045bcba61.tar.bz2
scummvm-rg350-8cbdc4b63f45b844014610b9c5eb7dd045bcba61.zip
PINK: renamed method of SequenceContext
-rw-r--r--engines/pink/objects/sequences/sequence_context.cpp2
-rw-r--r--engines/pink/objects/sequences/sequence_context.h2
-rw-r--r--engines/pink/objects/sequences/sequencer.cpp4
3 files changed, 4 insertions, 4 deletions
diff --git a/engines/pink/objects/sequences/sequence_context.cpp b/engines/pink/objects/sequences/sequence_context.cpp
index d10bf23cba..962aeb2814 100644
--- a/engines/pink/objects/sequences/sequence_context.cpp
+++ b/engines/pink/objects/sequences/sequence_context.cpp
@@ -87,7 +87,7 @@ SequenceActorState *SequenceContext::findState(const Common::String &actor) {
return nullptr;
}
-bool SequenceContext::isConflictsWith(SequenceContext *context) {
+bool SequenceContext::isConflictingWith(SequenceContext *context) {
for (uint i = 0; i < _states.size(); ++i) {
if (context->findState(_states[i].actorName))
return true;
diff --git a/engines/pink/objects/sequences/sequence_context.h b/engines/pink/objects/sequences/sequence_context.h
index ccca20e686..eea87afa94 100644
--- a/engines/pink/objects/sequences/sequence_context.h
+++ b/engines/pink/objects/sequences/sequence_context.h
@@ -49,7 +49,7 @@ public:
void execute(uint nextItemIndex, bool loadingSave);
- bool isConflictsWith(SequenceContext *context);
+ bool isConflictingWith(SequenceContext *context);
void clearDefaultActions();
diff --git a/engines/pink/objects/sequences/sequencer.cpp b/engines/pink/objects/sequences/sequencer.cpp
index 6b59788a43..f76ed66ab4 100644
--- a/engines/pink/objects/sequences/sequencer.cpp
+++ b/engines/pink/objects/sequences/sequencer.cpp
@@ -180,11 +180,11 @@ void Sequencer::saveState(Archive &archive) {
}
SequenceContext *Sequencer::findConfilictingContextWith(SequenceContext *context) {
- if (_context && _context->isConflictsWith(context)) {
+ if (_context && _context->isConflictingWith(context)) {
return _context;
}
for (uint i = 0; i < _parrallelContexts.size(); ++i) {
- if (_parrallelContexts[i]->isConflictsWith(context))
+ if (_parrallelContexts[i]->isConflictingWith(context))
return _parrallelContexts[i];
}
return nullptr;