aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwhiterandrek2018-05-22 09:22:14 +0300
committerEugene Sandulenko2018-06-28 23:51:32 +0200
commitd7f09d4c3cbfca7472856ca5a3e14a8e55255451 (patch)
tree76768f1243072be554e708722c0f9563f0a74db8
parent2bb2834782142dbece2be2f5cb3416d3ee5395ae (diff)
downloadscummvm-rg350-d7f09d4c3cbfca7472856ca5a3e14a8e55255451.tar.gz
scummvm-rg350-d7f09d4c3cbfca7472856ca5a3e14a8e55255451.tar.bz2
scummvm-rg350-d7f09d4c3cbfca7472856ca5a3e14a8e55255451.zip
PINK: remove extended initializer lists
-rw-r--r--engines/pink/cel_decoder.cpp2
-rw-r--r--engines/pink/objects/sequences/sequence_context.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/pink/cel_decoder.cpp b/engines/pink/cel_decoder.cpp
index 0387873618..7a2a91ed85 100644
--- a/engines/pink/cel_decoder.cpp
+++ b/engines/pink/cel_decoder.cpp
@@ -85,7 +85,7 @@ const Graphics::Surface *CelDecoder::getCurrentFrame() {
Common::Point CelDecoder::getCenter() {
CelVideoTrack *track = (CelVideoTrack*) getTrack(0);
if (!track)
- return {0,0};
+ return Common::Point(0, 0);
return track->getCenter();
}
diff --git a/engines/pink/objects/sequences/sequence_context.cpp b/engines/pink/objects/sequences/sequence_context.cpp
index 48cbfedfc5..65911ec832 100644
--- a/engines/pink/objects/sequences/sequence_context.cpp
+++ b/engines/pink/objects/sequences/sequence_context.cpp
@@ -67,7 +67,7 @@ SequenceContext::SequenceContext(Sequence *sequence, Sequencer *sequencer)
}
if (!found) {
debug(items[i]->getActor().c_str());
- _states.push_back({items[i]->getActor()});
+ _states.push_back(SequenceActorState(items[i]->getActor()));
}
}
}