aboutsummaryrefslogtreecommitdiff
path: root/scumm/smush/smush_player.cpp
diff options
context:
space:
mode:
authorMax Horn2003-12-25 02:55:00 +0000
committerMax Horn2003-12-25 02:55:00 +0000
commit01c4fd955c80ac2d0009911d3fe1a1f590d7369d (patch)
tree75e6b6d8e817a9ef9bbabb4a634f30ae1423a159 /scumm/smush/smush_player.cpp
parentb241e31e04cc7524e0e8176373744ce054ce4d83 (diff)
downloadscummvm-rg350-01c4fd955c80ac2d0009911d3fe1a1f590d7369d.tar.gz
scummvm-rg350-01c4fd955c80ac2d0009911d3fe1a1f590d7369d.tar.bz2
scummvm-rg350-01c4fd955c80ac2d0009911d3fe1a1f590d7369d.zip
Fix pause mode during video/smush playback
svn-id: r11899
Diffstat (limited to 'scumm/smush/smush_player.cpp')
-rw-r--r--scumm/smush/smush_player.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/scumm/smush/smush_player.cpp b/scumm/smush/smush_player.cpp
index 5386aec08d..65684a4d5f 100644
--- a/scumm/smush/smush_player.cpp
+++ b/scumm/smush/smush_player.cpp
@@ -865,6 +865,9 @@ void SmushPlayer::setupAnim(const char *file, const char *directory) {
}
void SmushPlayer::parseNextFrame() {
+ if (_scumm->_smushPaused)
+ return;
+
if (_base->eof()) {
_scumm->_videoFinished = true;
return;