mirror of
https://github.com/vcmi/vcmi.git
synced 2026-06-19 22:57:37 +02:00
@@ -1366,7 +1366,7 @@ std::pair<const CStack *, BattleHex> CBattleInfoCallback::getNearestStack(const
|
||||
for(BattleHex hex : avHexes)
|
||||
if(CStack::isMeleeAttackPossible(closest, st, hex))
|
||||
{
|
||||
DistStack hlp = {reachability.distances[st->position], hex, st};
|
||||
DistStack hlp = {reachability.distances[hex], hex, st};
|
||||
stackPairs.push_back(hlp);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user