aboutsummaryrefslogtreecommitdiff
path: root/engines/hdb/ai-funcs.cpp
diff options
context:
space:
mode:
authorNipun Garg2019-06-21 21:42:05 +0530
committerEugene Sandulenko2019-09-03 17:16:54 +0200
commit1ad07642747a66a71e1aac7a595cbd15a986b7b7 (patch)
treec7d0d0ff17f42d9464b699d8412c8408a64331c1 /engines/hdb/ai-funcs.cpp
parent16d6c638e820178e2a0bc78aa3d87a4615cc7603 (diff)
downloadscummvm-rg350-1ad07642747a66a71e1aac7a595cbd15a986b7b7.tar.gz
scummvm-rg350-1ad07642747a66a71e1aac7a595cbd15a986b7b7.tar.bz2
scummvm-rg350-1ad07642747a66a71e1aac7a595cbd15a986b7b7.zip
HDB: Use Masked Blitting instead of MaskedAlpha
This is a temporary fix until MaskedAlphaBlitting is implemented.
Diffstat (limited to 'engines/hdb/ai-funcs.cpp')
-rw-r--r--engines/hdb/ai-funcs.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/hdb/ai-funcs.cpp b/engines/hdb/ai-funcs.cpp
index a9d56c8a54..992fbf61a7 100644
--- a/engines/hdb/ai-funcs.cpp
+++ b/engines/hdb/ai-funcs.cpp
@@ -1145,7 +1145,9 @@ void AI::drawEnts(int x, int y, int w, int h) {
switch (e->type) {
case AI_VORTEXIAN:
- warning("STUB: AI::drawEnts: Tile Alpha Blitting required");
+ if (e->draw)
+ e->draw->drawMasked(e->x - x + e->drawXOff, e->y - y + e->drawYOff);
+ debug(1, "STUB: AI::drawEnts: Replace Masked Blitting with Alpha Masked Blitting");
break;
case AI_GUY: // Draw Player Last
break;