diff --git a/src/WraithXCOD/WraithXCOD/GameModernWarfare5.cpp b/src/WraithXCOD/WraithXCOD/GameModernWarfare5.cpp index c41d98e..cb181dc 100644 --- a/src/WraithXCOD/WraithXCOD/GameModernWarfare5.cpp +++ b/src/WraithXCOD/WraithXCOD/GameModernWarfare5.cpp @@ -548,8 +548,8 @@ std::unique_ptr GameModernWarfare5::ReadXModel(const CoDModel_t* Model // Grab reference auto& LodReference = ModelAsset->ModelLods[i]; - // Set distance - LodReference.LodDistance = ModelLod.LodDistance[0]; + // Set distance (use index, "distance" we see may be bounds? doesn't line up) + LodReference.LodDistance = i; // Set stream key and info ptr LodReference.LODStreamInfoPtr = ModelLod.MeshPtr; diff --git a/src/WraithXCOD/WraithXCOD/WraithXCOD.rc b/src/WraithXCOD/WraithXCOD/WraithXCOD.rc index 8af4083..bd11054 100644 --- a/src/WraithXCOD/WraithXCOD/WraithXCOD.rc +++ b/src/WraithXCOD/WraithXCOD/WraithXCOD.rc @@ -348,8 +348,8 @@ IDI_CHECKMARK ICON "..\\..\\WraithX\\Resources\\Che // VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,23,29,0 - PRODUCTVERSION 1,23,29,0 + FILEVERSION 1,23,31,0 + PRODUCTVERSION 1,23,31,0 FILEFLAGSMASK 0x3fL #ifdef _DEBUG FILEFLAGS 0x1L @@ -366,12 +366,12 @@ BEGIN BEGIN VALUE "CompanyName", "DTZxPorter / Scobalula" VALUE "FileDescription", "Greyhound" - VALUE "FileVersion", "1.23.29.0" + VALUE "FileVersion", "1.23.31.0" VALUE "InternalName", "Greyhound" VALUE "LegalCopyright", "Copyright (C) 2022 DTZxPorter / Scobalula" VALUE "OriginalFilename", "Greyhound.exe" VALUE "ProductName", "Greyhound" - VALUE "ProductVersion", "1.23.29.0" + VALUE "ProductVersion", "1.23.31.0" END END BLOCK "VarFileInfo"