aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorEugene Sandulenko2005-03-15 01:22:57 +0000
committerEugene Sandulenko2005-03-15 01:22:57 +0000
commit1a26020fd207bba5cb56d919fb93efd02afde831 (patch)
tree259a04449cd3111d6d48a7cc9db36aa6831ccb79 /scumm
parent7bb8de561b9b0e114daaff12b615b2f947e757df (diff)
downloadscummvm-rg350-1a26020fd207bba5cb56d919fb93efd02afde831.tar.gz
scummvm-rg350-1a26020fd207bba5cb56d919fb93efd02afde831.tar.bz2
scummvm-rg350-1a26020fd207bba5cb56d919fb93efd02afde831.zip
Actually draw NES costumes.
svn-id: r17139
Diffstat (limited to 'scumm')
-rw-r--r--scumm/costume.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/scumm/costume.cpp b/scumm/costume.cpp
index f181b518df..8ab5507ea9 100644
--- a/scumm/costume.cpp
+++ b/scumm/costume.cpp
@@ -789,6 +789,8 @@ void CostumeRenderer::drawNESCostume(const Actor *a, int limb) {
dest[j - left] = pic[j][i];
dest += _out.pitch;
}
+
+ _vm->markRectAsDirty(kMainVirtScreen, _actorX + left - 128, _actorX + right - 128, _actorY + top - 128, _actorY + bottom - 128);
}
byte CostumeRenderer::drawLimb(const Actor *a, int limb) {