From d03e75a8e91207b66064ef6cac4ef62da7e6f2e3 Mon Sep 17 00:00:00 2001 From: William JCM Date: Tue, 5 Oct 2021 10:03:52 +0200 Subject: [PATCH] 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. --- src/Mass/Mass.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Mass/Mass.cpp b/src/Mass/Mass.cpp index 49abb7e..4f5b1d1 100644 --- a/src/Mass/Mass.cpp +++ b/src/Mass/Mass.cpp @@ -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++) {