From 95546895f81c971e2e4a91bcc3480430832c71d7 Mon Sep 17 00:00:00 2001 From: Mike Thomas Date: Fri, 20 Aug 2010 16:53:37 +0000 Subject: [PATCH] Fix bug with falling back to default action. git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@996 ed5b42cb-e716-0410-a449-f6a68f950b19 --- src/as/com/threerings/cast/ComponentDataPack.as | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/as/com/threerings/cast/ComponentDataPack.as b/src/as/com/threerings/cast/ComponentDataPack.as index 6b0db1fe..e5bfdad8 100644 --- a/src/as/com/threerings/cast/ComponentDataPack.as +++ b/src/as/com/threerings/cast/ComponentDataPack.as @@ -103,7 +103,8 @@ public class ComponentDataPack extends TileDataPack aset = TileSet(actseq.tileset.clone()); aset.setImagePath(cpath); } else if (_zip.getEntry(dpath)) { - aset = TileSet(TileSet(_actions.get(ActionSequence.DEFAULT_SEQUENCE)).clone()); + actseq = _actions.get(ActionSequence.DEFAULT_SEQUENCE); + aset = TileSet(actseq.tileset.clone()); aset.setImagePath(dpath); _setcache.put(dpath, aset); }