Misc/Typos

This commit is contained in:
Sarjuuk
2018-03-29 18:58:22 +02:00
parent fab71f9325
commit 0912248fd5
4 changed files with 13 additions and 6 deletions

View File

@@ -4659,14 +4659,21 @@ function ProfilerInventory(_parent) {
_mvInited = true;
}
else { /* aowow: the idea of this is to directly access the swf. it just doesn't work with the ZAMviewerfp11.swf */
/*
aowow: the idea of this is to directly access the swf.
though ZAMviewerfp11.swf is unpredictable af
custom: try/catch; check for empty equipList
*/
else {
_swfModel = $WH.ge(_swfModel.id);
if (_swfModel.clearSlots) {
_swfModel.setAppearance(_profile.hairstyle, _profile.haircolor, _profile.facetype, _profile.skincolor, _profile.features, _profile.haircolor);
_swfModel.clearSlots(emptySlots);
_swfModel.attachList(equipList);
try { _swfModel.clearSlots(emptySlots); } catch (x) { }
if (equipList.length)
_swfModel.attachList(equipList);
}
}
}