2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2026-05-02 08:29:36 +00:00

Merge pull request #780 from Laupetin/fix/iw3-part-classification

fix: incomplete iw3 part classification
This commit is contained in:
Jan
2026-05-01 22:37:59 +02:00
committed by GitHub
4 changed files with 42 additions and 3 deletions
+1
View File
@@ -2879,6 +2879,7 @@ namespace IW3
HITLOC_L_LEG_LWR = 0xF,
HITLOC_R_FOOT = 0x10,
HITLOC_L_FOOT = 0x11,
HITLOC_GUN = 0x12,
HITLOC_COUNT,
};
@@ -17,7 +17,7 @@
#endif
// This file was templated.
// See JsonXModel.h.template.
// See XModelConstants.h.template.
// Do not modify, changes will be lost.
#pragma once
@@ -48,11 +48,9 @@ namespace GAME
"left_leg_lower",
"right_foot",
"left_foot",
#if defined(FEATURE_IW4) || defined(FEATURE_IW5) || defined(FEATURE_T5) || defined(FEATURE_T6)
"gun",
#if defined(FEATURE_IW4) || defined(FEATURE_IW5) || defined(FEATURE_T6)
"shield",
#endif
#endif
};
static_assert(std::extent_v<decltype(HITLOC_NAMES)> == HITLOC_COUNT);