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:
parent
20eaf17a18
commit
98375cc627
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user