Skip to content

Commit

Permalink
Fix for missing custom 121 flag emblem CTD. (#1022)
Browse files Browse the repository at this point in the history
  • Loading branch information
Zemurin authored Feb 24, 2024
1 parent 81847f9 commit 124322f
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ ColumnLimit: 160
Cpp11BracedListStyle: true
IndentCaseLabels: true
IndentWidth: 3
SortIncludes: false
DerivePointerAlignment: false
MaxEmptyLinesToKeep: 3
PointerAlignment: Left
Expand Down
Binary file added EU4ToVic2/Data_Files/flags/CustomEmblems/121.tga
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
4 changes: 2 additions & 2 deletions EU4ToVic2/Source/V2World/Flags/Flags.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -382,8 +382,8 @@ void V2::Flags::createCustomFlags() const
else
{
if (!commonItems::DoesFileExist(sourceFlagPath))
throw std::runtime_error("Could not find " + sourceFlagPath);
throw std::runtime_error("Could not find " + sourceEmblemPath);
throw std::runtime_error("Could not find " + sourceFlagPath + " for " + V2Tag);
throw std::runtime_error("Could not find " + sourceEmblemPath + " for " + V2Tag);
}
}
}
Expand Down

0 comments on commit 124322f

Please sign in to comment.