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:
parent
aef04236b9
commit
e5332fb61a
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user