aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2007-12-13 17:47:54 +0000
committerFilippos Karapetis2007-12-13 17:47:54 +0000
commit3240d0636a59c7a8c1f00bb73aa08894e3b80a2f (patch)
treeba22f36b42b656d9607a0213e96811a14375d26d
parent280d634455cd08846904cf4b897467f709f0c88e (diff)
downloadscummvm-rg350-3240d0636a59c7a8c1f00bb73aa08894e3b80a2f.tar.gz
scummvm-rg350-3240d0636a59c7a8c1f00bb73aa08894e3b80a2f.tar.bz2
scummvm-rg350-3240d0636a59c7a8c1f00bb73aa08894e3b80a2f.zip
Fixed a regression from the latest cleanups
svn-id: r29851
-rw-r--r--engines/cine/anim.cpp10
1 files changed, 3 insertions, 7 deletions
diff --git a/engines/cine/anim.cpp b/engines/cine/anim.cpp
index 00870905ce..ffa2a91c9d 100644
--- a/engines/cine/anim.cpp
+++ b/engines/cine/anim.cpp
@@ -696,15 +696,11 @@ void loadResourcesFromSave() {
foundFileIdx = currentPtr->fileIdx;
- strcpy(animName, partBuffer[foundFileIdx].partName);
-
- isSpl = (strstr(animName, ".SPL")) ? 1 : 0;
-
+ strcpy(animName, partBuffer[foundFileIdx].partName);
ptr = dataPtr = readBundleFile(foundFileIdx);
- if (strstr(animName, ".MSK")) {
- isMask = 1;
- }
+ isSpl = (strstr(animName, ".SPL")) ? 1 : 0;
+ isMask = (strstr(animName, ".MSK")) ? 1 : 0;
if (isSpl) {
animHeader.frameWidth = (uint16) partBuffer[foundFileIdx].unpackedSize;