aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25/gfx/image/vectorimage.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2010-09-05 21:15:35 +0000
committerEugene Sandulenko2010-10-12 23:37:35 +0000
commit7ad20e33378673b7e4c1c3ebcf602c22cdb95e61 (patch)
treefed8d7b6e4e8f4ead9accc0d29f214eb5010c99d /engines/sword25/gfx/image/vectorimage.cpp
parenta773c7a84268f7b7a7a1f8ecd00e7a14e1ab667c (diff)
downloadscummvm-rg350-7ad20e33378673b7e4c1c3ebcf602c22cdb95e61.tar.gz
scummvm-rg350-7ad20e33378673b7e4c1c3ebcf602c22cdb95e61.tar.bz2
scummvm-rg350-7ad20e33378673b7e4c1c3ebcf602c22cdb95e61.zip
SWORD25: Further fixes to vector images. Still not finished.
svn-id: r53322
Diffstat (limited to 'engines/sword25/gfx/image/vectorimage.cpp')
-rw-r--r--engines/sword25/gfx/image/vectorimage.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sword25/gfx/image/vectorimage.cpp b/engines/sword25/gfx/image/vectorimage.cpp
index 6b8c2bb8be..5e95502748 100644
--- a/engines/sword25/gfx/image/vectorimage.cpp
+++ b/engines/sword25/gfx/image/vectorimage.cpp
@@ -446,8 +446,8 @@ bool VectorImage::parseDefineShape(uint shapeType, SWFBitStream &bs) {
double newX = curX + controlDeltaX;
double newY = curY + controlDeltaY;
- double anchorX = curX + anchorDeltaX;
- double anchorY = curY + anchorDeltaY;
+ double anchorX = newX + anchorDeltaX;
+ double anchorY = newY + anchorDeltaY;
#define WEIGHT (2.0/3.0)