1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-04-13 11:40:38 +02:00

Merge pull request #5445 from IvanSavenko/event_fix

[1.6.6] Hide events from Alt overlay
This commit is contained in:
Ivan Savenko 2025-02-19 19:37:18 +02:00 committed by GitHub
commit e51ff53ee1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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();
}