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:
parent
07f9cb16c5
commit
49c5f70551
@ -1106,7 +1106,8 @@ AccessibilityInfo CBattleInfoCallback::getAccesibility(const std::vector<BattleH
|
||||
{
|
||||
auto ret = getAccesibility();
|
||||
BOOST_FOREACH(auto hex, accessibleHexes)
|
||||
ret[hex] = EAccessibility::ACCESSIBLE;
|
||||
if(hex.isValid())
|
||||
ret[hex] = EAccessibility::ACCESSIBLE;
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user