diff options
author | Nipun Garg | 2019-06-24 01:10:06 +0530 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:16:58 +0200 |
commit | 9671f336cfe4c581770143af6585983b53d96e77 (patch) | |
tree | 6ddd2549fecbeb98ceecc022628909b6ca452ddb /engines | |
parent | 727c0b81adcd9fc1812c48cc16a027356cb69235 (diff) | |
download | scummvm-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.cpp | 10 |
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); } } } |