[Scummvm-cvs-logs] SF.net SVN: scummvm: [29851] scummvm/trunk/engines/cine/anim.cpp
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Thu Dec 13 18:47:54 CET 2007
Revision: 29851
http://scummvm.svn.sourceforge.net/scummvm/?rev=29851&view=rev
Author: thebluegr
Date: 2007-12-13 09:47:54 -0800 (Thu, 13 Dec 2007)
Log Message:
-----------
Fixed a regression from the latest cleanups
Modified Paths:
--------------
scummvm/trunk/engines/cine/anim.cpp
Modified: scummvm/trunk/engines/cine/anim.cpp
===================================================================
--- scummvm/trunk/engines/cine/anim.cpp 2007-12-13 17:03:14 UTC (rev 29850)
+++ scummvm/trunk/engines/cine/anim.cpp 2007-12-13 17:47:54 UTC (rev 29851)
@@ -696,15 +696,11 @@
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;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list