Skip to content

Commit

Permalink
fix compendium unable to load limb models on nx
Browse files Browse the repository at this point in the history
Signed-off-by: SheridanR <[email protected]>
  • Loading branch information
SheridanR committed Oct 26, 2024
1 parent 7f32091 commit bda353b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/mod_tools.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16325,6 +16325,7 @@ void Compendium_t::readModelLimbsFromFile(std::string section)
std::string path = PHYSFS_getRealDir(inputPath.c_str()) ? PHYSFS_getRealDir(inputPath.c_str()) : "";
if ( path != "" )
{
path += PHYSFS_getDirSeparator();
inputPath = path + inputPath;
File* fp = FileIO::open(inputPath.c_str(), "rb");
if ( !fp )
Expand Down

0 comments on commit bda353b

Please sign in to comment.