diff options
-rw-r--r-- | engines/hdb/ai.cpp | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/engines/hdb/ai.cpp b/engines/hdb/ai.cpp index 3ce8de278b..f0c73f0f20 100644 --- a/engines/hdb/ai.cpp +++ b/engines/hdb/ai.cpp @@ -106,17 +106,18 @@ void AI::processCines() { break; case C_FADEIN: if (!(*it)->start) { - warning("STUB: DrawMan::setFade required"); - } else { - warning("STUB: DrawMan::fadeActive required"); + g_hdb->_drawMan->setFade(true, (bool) (*it)->end, (*it)->speed); + (*it)->start = 1; + } else if (!g_hdb->_drawMan->isFadeActive()) { + complete = true; } break; case C_FADEOUT: if (!(*it)->start) { - warning("STUB: DrawMan::setFade required"); - } - else { - warning("STUB: DrawMan::fadeActive required"); + g_hdb->_drawMan->setFade(false, (bool)(*it)->end, (*it)->speed); + (*it)->start = 1; + } else if (!g_hdb->_drawMan->isFadeActive()) { + complete = true; } break; default: |