mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-14 02:33:51 +02:00
No longer relevant TODO removed
This commit is contained in:
parent
72eb794397
commit
0e72ee9217
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user