mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Fix some of the new warnings from sonarcloud
This commit is contained in:
@@ -1253,7 +1253,7 @@ void CGameHandler::changeSpells(const CGHeroInstance * hero, bool give, const st
|
||||
sendAndApply(cs);
|
||||
}
|
||||
|
||||
void CGameHandler::setResearchedSpells(const CGTownInstance * town, int level, const std::vector<SpellID> spells, bool accepted)
|
||||
void CGameHandler::setResearchedSpells(const CGTownInstance * town, int level, const std::vector<SpellID> & spells, bool accepted)
|
||||
{
|
||||
SetResearchedSpells cs;
|
||||
cs.tid = town->id;
|
||||
|
||||
Reference in New Issue
Block a user