Mass: not all parts can have 8 decals in the demo.

For now, at least. Just like the code that treats a lack of global
styles as a demo thing, I'll remove it in due time.
This commit is contained in:
Guillaume Jacquemin 2021-10-05 10:03:52 +02:00
parent 4429e581f3
commit d03e75a8e9

View file

@ -585,8 +585,7 @@ void Mass::getArmourParts() {
}
if(decals_array->items.size() != 8) {
_state = State::Invalid;
return;
_demo = true;
}
for(UnsignedInt j = 0; j < decals_array->items.size(); j++) {