aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorNipun Garg2019-06-24 01:10:06 +0530
committerEugene Sandulenko2019-09-03 17:16:58 +0200
commit9671f336cfe4c581770143af6585983b53d96e77 (patch)
tree6ddd2549fecbeb98ceecc022628909b6ca452ddb /engines
parent727c0b81adcd9fc1812c48cc16a027356cb69235 (diff)
downloadscummvm-rg350-9671f336cfe4c581770143af6585983b53d96e77.tar.gz
scummvm-rg350-9671f336cfe4c581770143af6585983b53d96e77.tar.bz2
scummvm-rg350-9671f336cfe4c581770143af6585983b53d96e77.zip
HDB: Fix drawing function calls
Diffstat (limited to 'engines')
-rw-r--r--engines/hdb/window.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/hdb/window.cpp b/engines/hdb/window.cpp
index 95fc21fe1c..d7221fcc57 100644
--- a/engines/hdb/window.cpp
+++ b/engines/hdb/window.cpp
@@ -222,7 +222,7 @@ void Window::drawBorder(int x, int y, int width, int height, bool guyTalking) {
else if ((i == wide - 1) && !j)
_gfxTR->drawMasked(x + i * 16, y + j * 16);
else if (!j)
- _gfxTM->draw(x + i * 16, y + j * 16);
+ _gfxTM->drawMasked(x + i * 16, y + j * 16);
else {
// Bottom Lines
@@ -231,16 +231,16 @@ void Window::drawBorder(int x, int y, int width, int height, bool guyTalking) {
else if ((j == high - 1) && (i == wide - 1))
_gfxBR->drawMasked(x + i * 16, y + j * 16);
else if ((j == high - 1) && i < wide)
- _gfxBM->draw(x + i * 16, y + j * 16);
+ _gfxBM->drawMasked(x + i * 16, y + j * 16);
else {
// Middle lines
if (!i && j < high)
- _gfxL->draw(x + i * 16, y + j * 16);
+ _gfxL->drawMasked(x + i * 16, y + j * 16);
else if ((i == wide - 1) && j < high)
- _gfxR->draw(x + i * 16, y + j * 16);
+ _gfxR->drawMasked(x + i * 16, y + j * 16);
else
// Most drawn = middle block
- _gfxM->draw(x + i * 16, y + j * 16);
+ _gfxM->drawMasked(x + i * 16, y + j * 16);
}
}
}