diff options
author | Paul Gilbert | 2016-08-31 23:12:53 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-08-31 23:12:53 -0400 |
commit | 2e9c21cd84f47c51ebe8a847f2e4c359a106c751 (patch) | |
tree | 5ac3b079e0d10def92491742d8239ea6f155ab34 /engines/titanic/support/movie.cpp | |
parent | a1d51d31420ca07228fbcbe05624b5cf3a407133 (diff) | |
download | scummvm-rg350-2e9c21cd84f47c51ebe8a847f2e4c359a106c751.tar.gz scummvm-rg350-2e9c21cd84f47c51ebe8a847f2e4c359a106c751.tar.bz2 scummvm-rg350-2e9c21cd84f47c51ebe8a847f2e4c359a106c751.zip |
TITANIC: Improvements to view change animations
Diffstat (limited to 'engines/titanic/support/movie.cpp')
-rw-r--r-- | engines/titanic/support/movie.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/titanic/support/movie.cpp b/engines/titanic/support/movie.cpp index cfdcecbf42..647b24dda4 100644 --- a/engines/titanic/support/movie.cpp +++ b/engines/titanic/support/movie.cpp @@ -133,8 +133,13 @@ void OSMovie::playCutscene(const Rect &drawRect, uint startFrame, uint endFrame) drawRect.top + (heightLess ? CLIP_HEIGHT_REDUCED : CLIP_HEIGHT) ); + CGameState &gameState = g_vm->_window->_gameManager->_gameState; + gameState.setMode(GSMODE_CLIP); + _aviSurface.setFrame(startFrame); _aviSurface.playCutscene(r, startFrame, endFrame); + + gameState.setMode(GSMODE_INTERACTIVE); } void OSMovie::stop() { |