PINK: remove extended initializer lists

This commit is contained in:
whiterandrek 2018-05-22 09:22:14 +03:00 committed by Eugene Sandulenko
parent 2bb2834782
commit d7f09d4c3c
2 changed files with 2 additions and 2 deletions

View File

@ -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();
}

View File

@ -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()));
}
}
}