diff options
-rw-r--r-- | engines/sword25/gfx/image/vectorimage.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sword25/gfx/image/vectorimage.cpp b/engines/sword25/gfx/image/vectorimage.cpp index a24c702e6b..13ef9bf55d 100644 --- a/engines/sword25/gfx/image/vectorimage.cpp +++ b/engines/sword25/gfx/image/vectorimage.cpp @@ -191,7 +191,7 @@ Common::Rect flashRectToBSRect(VectorImage::SWFBitStream &bs) { // ----------------------------------------------------------------------------- Common::Rect CalculateBoundingBox(const VectorImageElement &vectorImageElement) { - double x0, y0, x1, y1; + double x0 = 0.0, y0 = 0.0, x1 = 0.0, y1 = 0.0; for (int j = vectorImageElement.getPathCount() - 1; j >= 0; j--) { ArtBpath *bez = vectorImageElement.getPathInfo(j).getVec(); |