chore: use constants for model array sizes in iw5 attachment writing

This commit is contained in:
Jan
2024-04-14 17:46:34 +02:00
parent 83f57e1961
commit 28949f4ee8
2 changed files with 7 additions and 3 deletions

View File

@ -510,6 +510,10 @@ namespace IW5
{WEAPCLASS_ITEM, "item" },
});
constexpr auto ATTACHMENT_WORLD_MODEL_COUNT = 16u;
constexpr auto ATTACHMENT_VIEW_MODEL_COUNT = 16u;
constexpr auto ATTACHMENT_RETICLE_VIEW_MODEL_COUNT = 8u;
class JsonWeaponAttachment
{
public: