Mass: prepare decals for edition.
This commit is contained in:
parent
8bae723018
commit
3ac5288f12
2 changed files with 2 additions and 0 deletions
|
@ -585,6 +585,7 @@ void Mass::getArmourParts() {
|
||||||
}
|
}
|
||||||
|
|
||||||
if(decals_array->items.size() != 8) {
|
if(decals_array->items.size() != 8) {
|
||||||
|
part.demoDecals = decals_array->items.size();
|
||||||
_demo = true;
|
_demo = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -85,6 +85,7 @@ struct ArmourPart {
|
||||||
std::string slot;
|
std::string slot;
|
||||||
Int id = 0;
|
Int id = 0;
|
||||||
Containers::StaticArray<4, Int> styles{ValueInit};
|
Containers::StaticArray<4, Int> styles{ValueInit};
|
||||||
|
UnsignedInt demoDecals = 8;
|
||||||
Containers::StaticArray<8, Decal> decals{ValueInit};
|
Containers::StaticArray<8, Decal> decals{ValueInit};
|
||||||
Containers::StaticArray<8, Accessory> accessories{ValueInit};
|
Containers::StaticArray<8, Accessory> accessories{ValueInit};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue