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:
@@ -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));
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user