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

Hide events from Alt overlay

This commit is contained in:
Ivan Savenko 2025-02-18 14:34:14 +00:00
parent aef04236b9
commit e5332fb61a

View File

@ -278,6 +278,9 @@ std::string MapRendererAdventureContext::overlayText(const int3 & coordinates) c
if (!tile.visitable()) if (!tile.visitable())
return {}; return {};
if ( tile.visitableObjects.back()->ID == Obj::EVENT)
return {};
return tile.visitableObjects.back()->getObjectName(); return tile.visitableObjects.back()->getObjectName();
} }