aboutsummaryrefslogtreecommitdiff
path: root/engines/gnap
diff options
context:
space:
mode:
authorEugene Sandulenko2016-05-20 20:59:33 +0200
committerEugene Sandulenko2016-05-20 20:59:33 +0200
commit3f2fcec10b84294bef258e9bad24e72eafbee9ee (patch)
tree6bb1cd5fdde962a8522401ae957adafae9018842 /engines/gnap
parent7da6d9937114d962ab4e8eea532e224b5e262128 (diff)
downloadscummvm-rg350-3f2fcec10b84294bef258e9bad24e72eafbee9ee.tar.gz
scummvm-rg350-3f2fcec10b84294bef258e9bad24e72eafbee9ee.tar.bz2
scummvm-rg350-3f2fcec10b84294bef258e9bad24e72eafbee9ee.zip
GNAP: Fix sprite transparency
Diffstat (limited to 'engines/gnap')
-rw-r--r--engines/gnap/gamesys.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/gnap/gamesys.cpp b/engines/gnap/gamesys.cpp
index c10806d918..36a7c4524c 100644
--- a/engines/gnap/gamesys.cpp
+++ b/engines/gnap/gamesys.cpp
@@ -224,7 +224,7 @@ void GameSys::drawSpriteToBackground(int x, int y, int resourceId) {
int spriteWidth = spriteResource->_width;
int spriteHeight = spriteResource->_height;
Common::Rect dstRect(0, 0, spriteWidth, spriteHeight);
- blitSprite32(_backgroundSurface, x, y, sourcePixels, spriteResource->_width, dstRect, sourcePalette, true);//spriteResource->_transparent != 0);
+ blitSprite32(_backgroundSurface, x, y, sourcePixels, spriteResource->_width, dstRect, sourcePalette, spriteResource->_transparent != 0);
_vm->_spriteCache->release(resourceId);
// Add dirty rect so the modified background is redrawn