From 8e099fdc2d526a37c543db366ebb626017b64237 Mon Sep 17 00:00:00 2001 From: Nipun Garg Date: Mon, 24 Jun 2019 02:25:37 +0530 Subject: HDB: Remove stub for _cineBlitList drawing --- engines/hdb/ai-cinematic.cpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'engines') 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++) { -- cgit v1.2.3