mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-03 09:23:37 +00:00
SWORD25: Fix for using uninitialised doubles
svn-id: r53324
This commit is contained in:
parent
7db8be5d4d
commit
b922b58f8d
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user