Use countof and enum num entries to get the amount of entries in t6 weaponfulldef

This commit is contained in:
Jan
2020-10-25 19:51:34 +01:00
parent eb97560e0d
commit b5141bcd1c
2 changed files with 19 additions and 27 deletions

View File

@ -4172,7 +4172,8 @@ namespace T6
HITLOC_L_FOOT = 0x12,
HITLOC_GUN = 0x13,
HITLOC_SHIELD = 0x14,
HITLOC_NUM = 0x15,
HITLOC_NUM,
};
struct WeaponDef