From: kramm Date: Tue, 23 Nov 2004 08:05:10 +0000 (+0000) Subject: fixed sprite frame count problem. X-Git-Tag: release-0-6-3~148 X-Git-Url: http://git.asbjorn.it/?a=commitdiff_plain;h=8b0e97dc465a439ccaabd56f9162055f8bff7b1b;p=swftools.git fixed sprite frame count problem. --- diff --git a/src/swfc.c b/src/swfc.c index c2de7de..93a7569 100644 --- a/src/swfc.c +++ b/src/swfc.c @@ -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);