1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-27 22:49:25 +02:00

Fix translations, fix Sonar

This commit is contained in:
Ivan Savenko
2025-06-13 16:36:24 +03:00
parent bc48337445
commit f5c037137b
23 changed files with 70 additions and 85 deletions

View File

@@ -849,7 +849,7 @@ std::shared_ptr<CSpell> CSpellHandler::loadFromJson(const std::string & scope, c
LIBRARY->identifiers()->requestIdentifier(bonusData.second.getModScope(), "bonus", bonusData.first, [&vec](si32 bonusID)
{
vec.push_back(BonusType(bonusID));
vec.push_back(static_cast<BonusType>(bonusID));
});
}
};