diff options
Diffstat (limited to 'engines/neverhood/sprite.cpp')
-rw-r--r-- | engines/neverhood/sprite.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/neverhood/sprite.cpp b/engines/neverhood/sprite.cpp index 0696aa6714..40b651e53b 100644 --- a/engines/neverhood/sprite.cpp +++ b/engines/neverhood/sprite.cpp @@ -408,10 +408,10 @@ void AnimatedSprite::updateFrameInfo() { debug(8, "AnimatedSprite::updateFrameInfo()"); const AnimFrameInfo &frameInfo = _animResource.getFrameInfo(_currFrameIndex); _frameChanged = true; - _drawOffset = frameInfo.rect; + _drawOffset = frameInfo.drawOffset; _deltaX = frameInfo.deltaX; _deltaY = frameInfo.deltaY; - _collisionBoundsOffset = frameInfo.deltaRect; + _collisionBoundsOffset = frameInfo.collisionBoundsOffset; _currFrameTicks = frameInfo.counter; updateBounds(); _needRefresh = true; |