diff options
author | Sven Hesse | 2011-01-22 12:26:31 +0000 |
---|---|---|
committer | Sven Hesse | 2011-01-22 12:26:31 +0000 |
commit | 7c14cf2b1bddaf4ec9403f49a1fc09ec750ee6c6 (patch) | |
tree | 3f5c1e5e76318a13b451d31471a2d7e0349e15b1 /engines/gob/inter_v1.cpp | |
parent | 477ae820fbccfe767b8d747d3441c45729f3aa94 (diff) | |
download | scummvm-rg350-7c14cf2b1bddaf4ec9403f49a1fc09ec750ee6c6.tar.gz scummvm-rg350-7c14cf2b1bddaf4ec9403f49a1fc09ec750ee6c6.tar.bz2 scummvm-rg350-7c14cf2b1bddaf4ec9403f49a1fc09ec750ee6c6.zip |
GOB: Fix some of the live-video glitchyness
svn-id: r55421
Diffstat (limited to 'engines/gob/inter_v1.cpp')
-rw-r--r-- | engines/gob/inter_v1.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/engines/gob/inter_v1.cpp b/engines/gob/inter_v1.cpp index bbd972c459..6035f22d79 100644 --- a/engines/gob/inter_v1.cpp +++ b/engines/gob/inter_v1.cpp @@ -45,6 +45,7 @@ #include "gob/palanim.h" #include "gob/scenery.h" #include "gob/video.h" +#include "gob/videoplayer.h" #include "gob/sound/sound.h" namespace Gob { @@ -1189,8 +1190,10 @@ bool Inter_v1::o1_keyFunc(OpFuncParams ¶ms) { int16 key; uint32 now; - _vm->_draw->forceBlit(); - _vm->_video->retrace(); + if (!_vm->_vidPlayer->isPlayingLive()) { + _vm->_draw->forceBlit(); + _vm->_video->retrace(); + } cmd = _vm->_game->_script->readInt16(); animPalette(); |