aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2011-07-10 16:34:45 +0300
committerEugene Sandulenko2011-07-10 18:10:58 +0300
commit1c711da8fc2f8099e641cfbe0a726e2f5ff8e308 (patch)
tree0df93193c57588d4d9c6046abe1859171d5f4d93 /engines
parentea53386f3e76301673610f3e1cdd9b60ac4704e0 (diff)
downloadscummvm-rg350-1c711da8fc2f8099e641cfbe0a726e2f5ff8e308.tar.gz
scummvm-rg350-1c711da8fc2f8099e641cfbe0a726e2f5ff8e308.tar.bz2
scummvm-rg350-1c711da8fc2f8099e641cfbe0a726e2f5ff8e308.zip
SWORD25: Fix regression introduced in 5dd8f2575b0f
Janitorial removed function call which had a side effect. Thus the actor image load code crashed.
Diffstat (limited to 'engines')
-rw-r--r--engines/sword25/gfx/image/vectorimage.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/sword25/gfx/image/vectorimage.cpp b/engines/sword25/gfx/image/vectorimage.cpp
index 45d43c465e..81f4fc2ad5 100644
--- a/engines/sword25/gfx/image/vectorimage.cpp
+++ b/engines/sword25/gfx/image/vectorimage.cpp
@@ -247,6 +247,9 @@ VectorImage::VectorImage(const byte *pFileData, uint fileSize, bool &success, co
return;
}
+ // readout SWF size
+ flashRectToBSRect(bs);
+
// Get frame rate and frame count
/* uint32 frameRate = */
bs.getUInt16();