Skip to content

Commit

Permalink
Fix INI parsing overrides/calls to match current specifications
Browse files Browse the repository at this point in the history
  • Loading branch information
Starkku committed Feb 23, 2024
1 parent 96b5686 commit d58059c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Ext/TechnoType/Body.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ void TechnoTypeExt::ExtData::LoadFromINIFile(CCINIClass* const pINI)
this->Tint_Intensity.Read(exINI, pSection, "Tint.Intensity");
this->Tint_VisibleToHouses.Read(exINI, pSection, "Tint.VisibleToHouses");

this->RevengeWeapon.Read(exINI, pSection, "RevengeWeapon", true);
this->RevengeWeapon.Read<true>(exINI, pSection, "RevengeWeapon");
this->RevengeWeapon_AffectsHouses.Read(exINI, pSection, "RevengeWeapon.AffectsHouses");

this->AttachEffect_AttachTypes.Read(exINI, pSection, "AttachEffect.AttachTypes");
Expand Down
2 changes: 1 addition & 1 deletion src/Utilities/TemplateDef.h
Original file line number Diff line number Diff line change
Expand Up @@ -1025,7 +1025,7 @@ namespace detail
}

template <>
inline bool read<DiscardCondition>(DiscardCondition& value, INI_EX& parser, const char* pSection, const char* pKey, bool allocate)
inline bool read<DiscardCondition>(DiscardCondition& value, INI_EX& parser, const char* pSection, const char* pKey)
{
if (parser.ReadString(pSection, pKey))
{
Expand Down

0 comments on commit d58059c

Please sign in to comment.