Browse Source

No longer relevant TODO removed

Dydzio 2 years ago
parent
commit
0e72ee9217
1 changed files with 1 additions and 2 deletions
  1. 1 2
      lib/battle/CBattleInfoCallback.cpp

+ 1 - 2
lib/battle/CBattleInfoCallback.cpp

@@ -1632,8 +1632,7 @@ bool CBattleInfoCallback::isEnemyUnitWithinSpecifiedRange(BattleHex attackerPosi
 	for(auto hex : defenderUnit->getHexes())
 	for(auto hex : defenderUnit->getHexes())
 		if(BattleHex::getDistance(attackerPosition, hex) <= range)
 		if(BattleHex::getDistance(attackerPosition, hex) <= range)
 			return true;
 			return true;
-
-	//TODO what about shooting distance calculation for two-hex shooters? Is it correct?
+	
 	return false;
 	return false;
 }
 }