From 3240d0636a59c7a8c1f00bb73aa08894e3b80a2f Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Thu, 13 Dec 2007 17:47:54 +0000 Subject: Fixed a regression from the latest cleanups svn-id: r29851 --- engines/cine/anim.cpp | 10 +++------- 1 file 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; -- cgit v1.2.3