From 69fff81b02c4979d70f84b5b32e1736c59ba0b32 Mon Sep 17 00:00:00 2001 From: Jan Date: Tue, 24 Dec 2019 11:40:23 +0100 Subject: [PATCH] ZoneCode: Fix XModel bone count not being unsigned but being used as it was --- src/ZoneCommon/Game/T6/T6_Assets.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ZoneCommon/Game/T6/T6_Assets.h b/src/ZoneCommon/Game/T6/T6_Assets.h index 718a9c28..ebcab4e2 100644 --- a/src/ZoneCommon/Game/T6/T6_Assets.h +++ b/src/ZoneCommon/Game/T6/T6_Assets.h @@ -550,9 +550,9 @@ namespace T6 struct XModel { const char* name; - char numBones; - char numRootBones; - char numsurfs; + unsigned char numBones; + unsigned char numRootBones; + unsigned char numsurfs; char lodRampType; unsigned __int16* boneNames; char* parentList;