1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

Limit showing empty message instantly to creature banks and dragon utopia

This commit is contained in:
Dydzio 2024-04-17 22:08:17 +02:00
parent 20eaf17a18
commit 98375cc627

View File

@ -141,7 +141,7 @@ void CBank::onHeroVisit(const CGHeroInstance * h) const
ChangeObjectVisitors cov(ChangeObjectVisitors::VISITOR_ADD_TEAM, id, h->id);
cb->sendAndApply(&cov);
if(!bankConfig)
if(!bankConfig && (ID.toEnum() == Obj::CREATURE_BANK || ID.toEnum() == Obj::DRAGON_UTOPIA))
{
blockingDialogAnswered(h, 1);
return;