Explorar el Código

Update BuildingBehavior.cpp

Fixed warning
Xilmi hace 1 año
padre
commit
e86ca49c37
Se han modificado 1 ficheros con 0 adiciones y 1 borrados
  1. 0 1
      AI/Nullkiller/Behaviors/BuildingBehavior.cpp

+ 0 - 1
AI/Nullkiller/Behaviors/BuildingBehavior.cpp

@@ -58,7 +58,6 @@ Goals::TGoalVec BuildingBehavior::decompose(const Nullkiller * ai) const
 		{
 			closestThreat = std::min(closestThreat, threat.turn);
 		}
-		int fortLevel = developmentInfo.town->fortLevel();
 		for (auto& buildingInfo : developmentInfo.toBuild)
 		{
 			if (closestThreat <= 1 && developmentInfo.town->fortLevel() < BuildingID::CASTLE && !buildingInfo.notEnoughRes)