aboutsummaryrefslogtreecommitdiff
path: root/scumm/costume.cpp
diff options
context:
space:
mode:
authorMax Horn2004-01-03 22:45:23 +0000
committerMax Horn2004-01-03 22:45:23 +0000
commitbceb48f5e0df08dc4288de4b16b4f21c6e403fc0 (patch)
tree253cd0a685f59a28c526337f34462fbe362d6d5c /scumm/costume.cpp
parent105895da46818a2e440fa419aab7fb1bc5818f47 (diff)
downloadscummvm-rg350-bceb48f5e0df08dc4288de4b16b4f21c6e403fc0.tar.gz
scummvm-rg350-bceb48f5e0df08dc4288de4b16b4f21c6e403fc0.tar.bz2
scummvm-rg350-bceb48f5e0df08dc4288de4b16b4f21c6e403fc0.zip
renamed updateDirtyRect to markRectAsDirty (because that's what it really does); used virtual screen id constants in more places
svn-id: r12122
Diffstat (limited to 'scumm/costume.cpp')
-rw-r--r--scumm/costume.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/costume.cpp b/scumm/costume.cpp
index e40d5647c5..9e1a0f4cdd 100644
--- a/scumm/costume.cpp
+++ b/scumm/costume.cpp
@@ -202,9 +202,9 @@ byte CostumeRenderer::mainRoutine(int xmoveCur, int ymoveCur) {
if (_vm->_version == 1)
//HACK: it fix gfx glitches leaved by actor costume in V1 games, when actor moving to left
- _vm->updateDirtyRect(0, x_left, x_right + 8, y_top, y_bottom, _dirty_id);
+ _vm->markRectAsDirty(kMainVirtScreen, x_left, x_right + 8, y_top, y_bottom, _dirty_id);
else
- _vm->updateDirtyRect(0, x_left, x_right + 1, y_top, y_bottom, _dirty_id);
+ _vm->markRectAsDirty(kMainVirtScreen, x_left, x_right + 1, y_top, y_bottom, _dirty_id);
if (y_top >= (int)_outheight || y_bottom <= 0)
return 0;