mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Fixes for multiple new issues from Sonar
This commit is contained in:
@@ -386,7 +386,7 @@ void DefenceBehavior::evaluateDefence(Goals::TGoalVec & tasks, const CGTownInsta
|
||||
town->getObjectName());
|
||||
#endif
|
||||
|
||||
ExecuteHeroChain heroChain = ExecuteHeroChain(path, town);
|
||||
ExecuteHeroChain heroChain(path, town);
|
||||
|
||||
if (closestWay)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user