Skip to content

Commit

Permalink
fix windows for real
Browse files Browse the repository at this point in the history
  • Loading branch information
Hat-Kid committed Dec 1, 2024
1 parent 1c6e846 commit a5aebaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion decompiler/level_extractor/extract_merc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1804,7 +1804,7 @@ void extract_merc(const ObjectFileData& ag_data,
if (file_util::file_exists(merc_replacements_path.string())) {
std::string file_name(ctrl.name + ".glb");
auto mdl_path = merc_replacements_path / file_name;
if (file_util::file_exists(mdl_path)) {
if (file_util::file_exists(mdl_path.string())) {
auto it = std::find_if(out.merc_data.models.begin(), out.merc_data.models.end(),
[&](const auto& m) { return m.name == ctrl.name; });
if (it != out.merc_data.models.end()) {
Expand Down

0 comments on commit a5aebaf

Please sign in to comment.