TITANIC: Fix regenerating CGameObject _movieRangeInfoList during saving

This commit is contained in:
Paul Gilbert 2017-09-18 21:26:04 -04:00
parent 1f1a4427f5
commit 0c6b15d8d0

View File

@ -97,6 +97,7 @@ void CGameObject::save(SimpleFile *file, int indent) {
i != rangeList->end(); ++i) {
CMovieRangeInfo *rangeInfo = new CMovieRangeInfo(*i);
rangeInfo->_initialFrame = (i == rangeList->begin()) ? getMovieFrame() : -1;
_movieRangeInfoList.push_back(rangeInfo);
}
}
}