Mass: prepare decals for edition.

This commit is contained in:
Guillaume Jacquemin 2021-10-12 16:35:49 +02:00
parent 8bae723018
commit 3ac5288f12
2 changed files with 2 additions and 0 deletions

View file

@ -585,6 +585,7 @@ void Mass::getArmourParts() {
}
if(decals_array->items.size() != 8) {
part.demoDecals = decals_array->items.size();
_demo = true;
}

View file

@ -85,6 +85,7 @@ struct ArmourPart {
std::string slot;
Int id = 0;
Containers::StaticArray<4, Int> styles{ValueInit};
UnsignedInt demoDecals = 8;
Containers::StaticArray<8, Decal> decals{ValueInit};
Containers::StaticArray<8, Accessory> accessories{ValueInit};
};