aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2017-10-13 21:23:24 -0400
committerPaul Gilbert2017-10-13 21:23:24 -0400
commit55947e8ae84b7f93f03e671435830573ddf6f667 (patch)
tree544fe992fc0deffc3782005ffe3ff9fbaaf22bd2 /engines
parent9ac71ca8921d6940bd9e72cfcad2c56957190091 (diff)
downloadscummvm-rg350-55947e8ae84b7f93f03e671435830573ddf6f667.tar.gz
scummvm-rg350-55947e8ae84b7f93f03e671435830573ddf6f667.tar.bz2
scummvm-rg350-55947e8ae84b7f93f03e671435830573ddf6f667.zip
TITANIC: Fix rotating on Top of Well balcony
Diffstat (limited to 'engines')
-rw-r--r--engines/titanic/support/avi_surface.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/titanic/support/avi_surface.cpp b/engines/titanic/support/avi_surface.cpp
index 4fad6542fa..9ab6d87884 100644
--- a/engines/titanic/support/avi_surface.cpp
+++ b/engines/titanic/support/avi_surface.cpp
@@ -490,6 +490,11 @@ bool AVISurface::playCutscene(const Rect &r, uint startFrame, uint endFrame) {
if (g_vm->shouldQuit())
return false;
+ // TODO: Fixes slight "jumping back" when rotating in place in Top Of Well
+ // balcony between two elevators. Need a more generalized fix at some point
+ if (_movieName == "z48.avi")
+ _currentFrame = -1;
+
if (_currentFrame != ((int)startFrame - 1) || startFrame == 0) {
// Start video playback at the desired starting frame
if (startFrame > 0) {
@@ -505,6 +510,7 @@ bool AVISurface::playCutscene(const Rect &r, uint startFrame, uint endFrame) {
// Already in position, so pick up where we left off
_decoder->start();
}
+ setFrameRate(2);
bool isDifferent = _movieFrameSurface[0]->w != r.width() ||
_movieFrameSurface[0]->h != r.height();