more cleanup

svn-id: r12234
This commit is contained in:
Max Horn 2004-01-08 03:24:41 +00:00
parent ab2192761d
commit 6222d6e643
7 changed files with 21 additions and 38 deletions

View file

@ -1515,7 +1515,7 @@ void ScummEngine::drawBlastObject(BlastObject *eo) {
drawBomp(bdd, false);
}
markRectAsDirty(vs->number, bdd.x, bdd.x + bdd.srcwidth, bdd.y, bdd.y + bdd.srcheight, 0);
markRectAsDirty(vs->number, bdd.x, bdd.x + bdd.srcwidth, bdd.y, bdd.y + bdd.srcheight);
}
void ScummEngine::removeBlastObjects() {
@ -1566,7 +1566,7 @@ void ScummEngine::removeBlastObject(BlastObject *eo) {
for (i = left_strip; i <= right_strip; i++)
gdi.resetBackground(r.top, r.bottom, i);
markRectAsDirty(kMainVirtScreen, r.left, r.right, r.top, r.bottom, USAGE_BIT_RESTORED);
markRectAsDirty(kMainVirtScreen, r, USAGE_BIT_RESTORED);
}
int ScummEngine::findLocalObjectSlot() {