mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-17 00:07:41 +02:00
Update tests
This commit is contained in:
@ -275,7 +275,7 @@ std::string MapRendererAdventureContext::overlayText(const int3 & coordinates) c
|
||||
|
||||
const auto & tile = getMapTile(coordinates);
|
||||
|
||||
if (!tile.visitable)
|
||||
if (!tile.visitable())
|
||||
return {};
|
||||
|
||||
return tile.visitableObjects.back()->getObjectName();
|
||||
@ -288,7 +288,7 @@ ColorRGBA MapRendererAdventureContext::overlayTextColor(const int3 & coordinates
|
||||
|
||||
const auto & tile = getMapTile(coordinates);
|
||||
|
||||
if (!tile.visitable)
|
||||
if (!tile.visitable())
|
||||
return {};
|
||||
|
||||
const auto * object = tile.visitableObjects.back();
|
||||
|
Reference in New Issue
Block a user