1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +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

@@ -83,7 +83,7 @@ CIdentifierStorage::CIdentifierStorage()
registerObject(ModScope::scopeBuiltin(), "spell", "spellbook_preset", SpellID::SPELLBOOK_PRESET);
}
void CIdentifierStorage::checkIdentifier(std::string & ID)
void CIdentifierStorage::checkIdentifier(const std::string & ID)
{
if (boost::algorithm::ends_with(ID, "."))
logMod->error("BIG WARNING: identifier %s seems to be broken!", ID);