Fixed a regression from the latest cleanups

svn-id: r29851
This commit is contained in:
Filippos Karapetis 2007-12-13 17:47:54 +00:00
parent 280d634455
commit 3240d0636a

View File

@ -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;