1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

Fixed #1112/#1114.

This commit is contained in:
Michał W. Urbańczyk 2012-09-30 11:33:19 +00:00
parent 07f9cb16c5
commit 49c5f70551

View File

@ -1106,6 +1106,7 @@ AccessibilityInfo CBattleInfoCallback::getAccesibility(const std::vector<BattleH
{
auto ret = getAccesibility();
BOOST_FOREACH(auto hex, accessibleHexes)
if(hex.isValid())
ret[hex] = EAccessibility::ACCESSIBLE;
return ret;