Skip to content

Commit

Permalink
Merge pull request #46 from Scobalula/development
Browse files Browse the repository at this point in the history
Fix Lods + XAnims
  • Loading branch information
Scobalula authored Nov 24, 2022
2 parents 511879a + 4ec71a6 commit 0e95eb5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/WraithXCOD/WraithXCOD/GameModernWarfare5.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -548,8 +548,8 @@ std::unique_ptr<XModel_t> 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;
Expand Down
8 changes: 4 additions & 4 deletions src/WraithXCOD/WraithXCOD/WraithXCOD.rc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"
Expand Down

0 comments on commit 0e95eb5

Please sign in to comment.