diff options
Diffstat (limited to 'engines/sword25/gfx/image/vectorimage.cpp')
-rw-r--r-- | engines/sword25/gfx/image/vectorimage.cpp | 4 |
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) |