mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-08 22:26:51 +02:00
Merge pull request #5445 from IvanSavenko/event_fix
[1.6.6] Hide events from Alt overlay
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user