aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;