fixed sprite frame count problem.
authorkramm <kramm>
Tue, 23 Nov 2004 08:05:10 +0000 (08:05 +0000)
committerkramm <kramm>
Tue, 23 Nov 2004 08:05:10 +0000 (08:05 +0000)
src/swfc.c

index c2de7de..93a7569 100644 (file)
@@ -1316,7 +1316,7 @@ void s_includeswf(char*name, char*filename)
     
     s = tag = swf_InsertTag(tag, ST_DEFINESPRITE);
     swf_SetU16(tag, id);
-    swf_SetU16(tag, 0);
+    swf_SetU16(tag, swf.frameCount);
 
     swf_Relocate(&swf, idmap);