aboutsummaryrefslogtreecommitdiff
path: root/engines/hdb/ai-cinematic.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/hdb/ai-cinematic.cpp')
-rw-r--r--engines/hdb/ai-cinematic.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/engines/hdb/ai-cinematic.cpp b/engines/hdb/ai-cinematic.cpp
index a1719971d0..4af3d9af7c 100644
--- a/engines/hdb/ai-cinematic.cpp
+++ b/engines/hdb/ai-cinematic.cpp
@@ -72,11 +72,17 @@ void AI::processCines() {
bailOut = complete = false;
-
- // TODO: Make sure Cine Pics are drawing
// Make sure Dialogs are timing out
g_hdb->_window->checkDialogClose(0, 0);
+ // Make sure Cine Pics are drawing
+ for (int i = 0;i < _numCineBlitList;i++) {
+ if (_cineBlitList[i]->masked = false)
+ _cineBlitList[i]->pic->draw(_cine[i]->x, _cine[i]->y);
+ else
+ _cineBlitList[i]->pic->drawMasked(_cine[i]->x, _cine[i]->y);
+ }
+
// TODO: Check for Game Pause
for (uint i = 0; i < _cine.size();i++) {