mirror of
https://github.com/vcmi/vcmi.git
synced 2025-03-19 21:10:12 +02:00
Hide events from Alt overlay
This commit is contained in:
parent
aef04236b9
commit
e5332fb61a
@ -278,6 +278,9 @@ std::string MapRendererAdventureContext::overlayText(const int3 & coordinates) c
|
||||
if (!tile.visitable())
|
||||
return {};
|
||||
|
||||
if ( tile.visitableObjects.back()->ID == Obj::EVENT)
|
||||
return {};
|
||||
|
||||
return tile.visitableObjects.back()->getObjectName();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user