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

Fix docs, update spell immunity usage of addinfo, fix sonar

This commit is contained in:
Ivan Savenko
2025-06-15 14:25:18 +03:00
parent f5c037137b
commit 2b43d415a9
7 changed files with 8 additions and 6 deletions

View File

@@ -89,7 +89,7 @@ void CIdentifierStorage::checkIdentifier(const std::string & ID)
logMod->error("BIG WARNING: identifier %s seems to be broken!", ID);
}
void CIdentifierStorage::requestIdentifier(ObjectCallback callback) const
void CIdentifierStorage::requestIdentifier(const ObjectCallback & callback) const
{
checkIdentifier(callback.type);
checkIdentifier(callback.name);