diff options
author | johndoe123 | 2018-05-17 01:28:06 +1000 |
---|---|---|
committer | Eugene Sandulenko | 2018-07-20 06:43:33 +0000 |
commit | 960d79ed5acde4d1dda7c123e224b551c7df7260 (patch) | |
tree | 7f267630cd545f015d96668e7d2b47e83b9e4315 /engines/illusions/screen.cpp | |
parent | c01a1269b6bd6bfbce0de201490fc2c1d61c2250 (diff) | |
download | scummvm-rg350-960d79ed5acde4d1dda7c123e224b551c7df7260.tar.gz scummvm-rg350-960d79ed5acde4d1dda7c123e224b551c7df7260.tar.bz2 scummvm-rg350-960d79ed5acde4d1dda7c123e224b551c7df7260.zip |
ILLUSIONS: DUCKMAN: Implement video player
(cherry picked from commit 62577c8)
Diffstat (limited to 'engines/illusions/screen.cpp')
-rw-r--r-- | engines/illusions/screen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/illusions/screen.cpp b/engines/illusions/screen.cpp index 6a991cd782..9979cd1fa8 100644 --- a/engines/illusions/screen.cpp +++ b/engines/illusions/screen.cpp @@ -423,7 +423,7 @@ void Screen::updateSprites() { _drawQueue->drawAll(); if (_isScreenOffsetActive) clearScreenOffsetAreas(); - if (!_displayOn) // TODO Check if a video is playing then don't do it + if (!_displayOn && !_vm->isVideoPlaying()) _backSurface->fillRect(Common::Rect(_backSurface->w, _backSurface->h), 0); g_system->copyRectToScreen((byte*)_backSurface->getBasePtr(0, 0), _backSurface->pitch, 0, 0, _backSurface->w, _backSurface->h); } |