mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-28 03:57:02 +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);
|
ChangeObjectVisitors cov(ChangeObjectVisitors::VISITOR_ADD_TEAM, id, h->id);
|
||||||
cb->sendAndApply(&cov);
|
cb->sendAndApply(&cov);
|
||||||
|
|
||||||
if(!bankConfig)
|
if(!bankConfig && (ID.toEnum() == Obj::CREATURE_BANK || ID.toEnum() == Obj::DRAGON_UTOPIA))
|
||||||
{
|
{
|
||||||
blockingDialogAnswered(h, 1);
|
blockingDialogAnswered(h, 1);
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user