diff options
author | Filippos Karapetis | 2007-12-13 17:47:54 +0000 |
---|---|---|
committer | Filippos Karapetis | 2007-12-13 17:47:54 +0000 |
commit | 3240d0636a59c7a8c1f00bb73aa08894e3b80a2f (patch) | |
tree | ba22f36b42b656d9607a0213e96811a14375d26d | |
parent | 280d634455cd08846904cf4b897467f709f0c88e (diff) | |
download | scummvm-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.cpp | 10 |
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; |