aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2009-10-27 09:24:00 +0000
committerTravis Howell2009-10-27 09:24:00 +0000
commita6195bc1752c4e44fcdd4cdfb25e640608afd785 (patch)
tree281ea0f816e717fcd1e892883684eeaca383eecd
parente49065c8214e409226ce9ab9e72f09fa3fb6ee02 (diff)
downloadscummvm-rg350-a6195bc1752c4e44fcdd4cdfb25e640608afd785.tar.gz
scummvm-rg350-a6195bc1752c4e44fcdd4cdfb25e640608afd785.tar.bz2
scummvm-rg350-a6195bc1752c4e44fcdd4cdfb25e640608afd785.zip
Reset _distaff after drawing distaff image in PCE version of Loom.
svn-id: r45434
-rw-r--r--engines/scumm/verbs.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/scumm/verbs.cpp b/engines/scumm/verbs.cpp
index bfb1642d88..d371f8744d 100644
--- a/engines/scumm/verbs.cpp
+++ b/engines/scumm/verbs.cpp
@@ -1391,6 +1391,10 @@ void ScummEngine::drawVerbBitmap(int verb, int x, int y) {
_gdi->drawBitmap(imptr, vs, tmp, ydiff, imgw * 8, imgh * 8, i, 1, Gdi::dbAllowMaskOr | Gdi::dbObjectMode);
}
+ if (_game.id == GID_LOOM && _game.platform == Common::kPlatformPCEngine) {
+ _gdi->_distaff = false;
+ }
+
vst->curRect.right = vst->curRect.left + imgw * 8;
vst->curRect.bottom = vst->curRect.top + imgh * 8;
vst->oldRect = vst->curRect;