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:
commit
e51ff53ee1
@ -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