Just fail to freak out, don't fail to load shadows at all.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4023 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2006-04-14 21:52:06 +00:00
parent 40d78e44d3
commit 67c42dda0b
@@ -345,18 +345,16 @@ public class BundledComponentRepository
_setcache.put(dpath, aset);
}
// if this is a shadow image, no need to freak out as they are
// optional
if (StandardActions.SHADOW_TYPE.equals(type)) {
return null;
}
// if that failed too, we're hosed
if (aset == null) {
Log.warning("Unable to locate tileset for action '" +
imgpath + "' " + component + ".");
if (_wipeOnFailure) {
_bundle.wipeBundle(false);
// if this is a shadow image, no need to freak out as they
// are optional
if (!StandardActions.SHADOW_TYPE.equals(type)) {
Log.warning("Unable to locate tileset for action '" +
imgpath + "' " + component + ".");
if (_wipeOnFailure) {
_bundle.wipeBundle(false);
}
}
return null;
}