diff --git a/Utils/MkLevel/MkLevel.cpp b/Utils/MkLevel/MkLevel.cpp index ac9ba638f..6d7472f5a 100644 --- a/Utils/MkLevel/MkLevel.cpp +++ b/Utils/MkLevel/MkLevel.cpp @@ -652,6 +652,7 @@ int PntCount=3; OtOfs=sqrt(OtOfs/PntCount); OtOfs/=8; +// printf("%i\n",P.OTOfs); OtOfs+=P.OTOfs; if (OtOfs>OTMax) OtOfs=OTMax; diff --git a/tools/Data/bin/MkLevel.exe b/tools/Data/bin/MkLevel.exe index 8fbf48df4..ca0325b54 100644 Binary files a/tools/Data/bin/MkLevel.exe and b/tools/Data/bin/MkLevel.exe differ diff --git a/tools/Data/include/dstructs.h b/tools/Data/include/dstructs.h index b13e2ece0..6b9ddfd67 100644 --- a/tools/Data/include/dstructs.h +++ b/tools/Data/include/dstructs.h @@ -105,7 +105,7 @@ struct sTri u16 TPage; // 2 u8 uv2[2]; // 2 u16 P2; // 2 - u16 OTOfs; // 2 + s16 OTOfs; // 2 u8 PolyCode; // 1 u8 Pad; // 1 }; // 20 @@ -123,7 +123,7 @@ struct sQuad u16 P2; // 2 u8 uv3[2]; // 2 u16 P3; // 2 - u16 OTOfs; // 2 + s16 OTOfs; // 2 u8 PolyCode; // 1 u8 Pad; // 1 }; // 24 @@ -142,7 +142,7 @@ struct sPoly u16 TPage; // 2 u8 uv2[2]; // 2 u8 uv3[2]; // 2 - u16 OTOfs; // 2 + s16 OTOfs; // 2 u8 PolyCode; // 1 u8 PolyTag; // 1