Build viewer/editor #13

Manually merged
williamjcm merged 128 commits from mass-viewer into master 2022-03-02 14:50:10 +01:00
Showing only changes of commit 7e452db3a4 - Show all commits

View file

@ -1055,9 +1055,9 @@ void Mass::getWeaponType(const char* prop_name, Containers::ArrayView<Weapon> we
auto part_accs = part_prop->at<ArrayProperty>("Accessories_21_3878DE8B4ED0EA0DB725E98BCDC20E0C"); auto part_accs = part_prop->at<ArrayProperty>("Accessories_21_3878DE8B4ED0EA0DB725E98BCDC20E0C");
if(!part_accs) { if(!part_accs) {
_demo = true; _demo = true;
continue;
} }
if(!_demo) {
if(part_accs->items.size() != 8) { if(part_accs->items.size() != 8) {
_state = State::Invalid; _state = State::Invalid;
return; return;
@ -1087,5 +1087,4 @@ void Mass::getWeaponType(const char* prop_name, Containers::ArrayView<Weapon> we
} }
} }
} }
}
} }