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
This commit is contained in:
Mike Thomas
2010-08-20 16:53:37 +00:00
parent 9dc56e21b7
commit 95546895f8
@@ -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);
}