aboutsummaryrefslogtreecommitdiff
path: root/engines/pegasus
diff options
context:
space:
mode:
Diffstat (limited to 'engines/pegasus')
-rw-r--r--engines/pegasus/elements.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/pegasus/elements.cpp b/engines/pegasus/elements.cpp
index 103dfcff11..79faa1ae85 100644
--- a/engines/pegasus/elements.cpp
+++ b/engines/pegasus/elements.cpp
@@ -430,7 +430,7 @@ void Sprite::draw(const Common::Rect &r) {
Common::Rect r1 = frameBounds.findIntersectingRect(r);
Common::Rect r2 = frameBounds;
- r2.translate(frameBounds.left - _bounds.left - _currentFrame->frameLeft, frameBounds.top - _bounds.top - _currentFrame->frameTop);
+ r2.translate(-_bounds.left - _currentFrame->frameLeft, -_bounds.top - _currentFrame->frameTop);
_currentFrame->frame->drawImage(r2, r1);
}