1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

Update tests

This commit is contained in:
Ivan Savenko
2024-07-15 07:41:53 +00:00
parent 08fbcd5239
commit 04ca8aca9f
7 changed files with 16 additions and 19 deletions

View File

@@ -291,7 +291,7 @@ float Statistic::getMapExploredRatio(const CGameState * gs, PlayerColor player)
{
TerrainTile tile = gs->map->getTile(int3(x, y, layer));
if(tile.blocked && (!tile.visitable))
if(tile.blocked() && !tile.visitable())
continue;
if(gs->isVisible(int3(x, y, layer), player))