mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-27 21:26:40 +00:00
Fixed #1923 Wrong cyclic tag detection causing hidden sprites
This commit is contained in:
@@ -29,6 +29,7 @@ import com.jpexs.decompiler.flash.tags.base.CharacterTag;
|
||||
import com.jpexs.decompiler.flash.tags.base.DrawableTag;
|
||||
import com.jpexs.decompiler.flash.tags.base.PlaceObjectTypeTag;
|
||||
import com.jpexs.decompiler.flash.tags.base.RenderContext;
|
||||
import com.jpexs.decompiler.flash.tags.base.SoundStreamHeadTypeTag;
|
||||
import com.jpexs.decompiler.flash.timeline.Timeline;
|
||||
import com.jpexs.decompiler.flash.timeline.Timelined;
|
||||
import com.jpexs.decompiler.flash.types.BasicType;
|
||||
@@ -347,7 +348,7 @@ public class DefineSpriteTag extends DrawableTag implements Timelined {
|
||||
@Override
|
||||
public void getNeededCharacters(Set<Integer> needed) {
|
||||
for (Tag t : getTags()) {
|
||||
if (t instanceof CharacterIdTag) {
|
||||
if ((t instanceof CharacterIdTag) && !(t instanceof SoundStreamHeadTypeTag)) {
|
||||
needed.add(((CharacterIdTag) t).getCharacterId());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user