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:
@@ -103,7 +103,8 @@ public class ComponentDataPack extends TileDataPack
|
|||||||
aset = TileSet(actseq.tileset.clone());
|
aset = TileSet(actseq.tileset.clone());
|
||||||
aset.setImagePath(cpath);
|
aset.setImagePath(cpath);
|
||||||
} else if (_zip.getEntry(dpath)) {
|
} 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);
|
aset.setImagePath(dpath);
|
||||||
_setcache.put(dpath, aset);
|
_setcache.put(dpath, aset);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user