Selaa lähdekoodia

No longer relevant TODO removed

Dydzio 2 vuotta sitten
vanhempi
sitoutus
0e72ee9217
1 muutettua tiedostoa jossa 1 lisäystä ja 2 poistoa
  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())
 		if(BattleHex::getDistance(attackerPosition, hex) <= range)
 			return true;
-
-	//TODO what about shooting distance calculation for two-hex shooters? Is it correct?
+	
 	return false;
 }