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