aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25
diff options
context:
space:
mode:
authorEugene Sandulenko2016-05-06 11:31:53 +0200
committerEugene Sandulenko2016-05-06 11:31:53 +0200
commit61c9d17abf5efbbc50055c4f7dfd94ffec98d799 (patch)
tree2adaa83a3bdc9b3df6de391028dd1065b7d4f655 /engines/sword25
parentf76f84a23b54ad6224deee8c8200ca094720dfd1 (diff)
downloadscummvm-rg350-61c9d17abf5efbbc50055c4f7dfd94ffec98d799.tar.gz
scummvm-rg350-61c9d17abf5efbbc50055c4f7dfd94ffec98d799.tar.bz2
scummvm-rg350-61c9d17abf5efbbc50055c4f7dfd94ffec98d799.zip
SWORD25: Fix class initialization
Diffstat (limited to 'engines/sword25')
-rw-r--r--engines/sword25/gfx/image/vectorimage.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/sword25/gfx/image/vectorimage.cpp b/engines/sword25/gfx/image/vectorimage.cpp
index a678fdccad..5d35a4f47e 100644
--- a/engines/sword25/gfx/image/vectorimage.cpp
+++ b/engines/sword25/gfx/image/vectorimage.cpp
@@ -217,6 +217,7 @@ Common::Rect CalculateBoundingBox(const VectorImageElement &vectorImageElement)
VectorImage::VectorImage(const byte *pFileData, uint fileSize, bool &success, const Common::String &fname) : _pixelData(0), _fname(fname) {
success = false;
+ _bgColor = 0;
// Create bitstream object
// In the following the file data will be readout of the bitstream object.