X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fcombine.c;fp=src%2Fcombine.c;h=1e391aacfa9c03b08189886a426beffcf35fd85a;hb=41928ecbe79aabb7bdef15078f3dd900a4fd9557;hp=f694bcc1d3f3b853e7c12633a9a686c7c4ba78e3;hpb=dea9e56f5da3a1e4cafa6d92443d023dcdea2a52;p=swftools.git diff --git a/src/combine.c b/src/combine.c index f694bcc..1e391aa 100644 --- a/src/combine.c +++ b/src/combine.c @@ -389,7 +389,7 @@ void write_master(struct writer_t*w, int spriteid, int replaceddefine, int flags logf(" Can't combine --clip and --frame"); } *(u16*)&data[0] = SWAP16((u16)(TAGID_PLACEOBJECT2<<6) + 5); - *(u8*)&data[2]= SWAP16(2); //flags: id + *(u8*)&data[2]= 2; //flags: id *(u16*)&data[3]= SWAP16(depth); // depth *(u16*)&data[5]= SWAP16(id); write_sprite_defines(w);