aboutsummaryrefslogtreecommitdiff
path: root/actor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'actor.cpp')
-rw-r--r--actor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/actor.cpp b/actor.cpp
index 8c6659a0f3..217f66ca6a 100644
--- a/actor.cpp
+++ b/actor.cpp
@@ -920,7 +920,7 @@ void Scumm::drawActorCostume(Actor *a) {
}
ar.charsetmask = _vars[VAR_CHARSET_MASK]!=0;
- ar.outptr = getResourceAddress(rtBuffer, 1) + virtscr->xstart;
+ ar.outptr = virtscr->screenPtr + virtscr->xstart;
ar.outwidth = virtscr->width;
ar.outheight = virtscr->height;