mirror of
https://github.com/vcmi/vcmi.git
synced 2025-02-13 13:18:43 +02:00
Show info nin modal window always
This commit is contained in:
parent
67331c5520
commit
7c029bccba
@ -412,7 +412,7 @@ void CTownRewardableBuilding::onHeroVisit(const CGHeroInstance *h) const
|
||||
iw.player = h->tempOwner;
|
||||
iw.text = vi.message;
|
||||
vi.reward.loadComponents(iw.components, h);
|
||||
iw.type = configuration.infoWindowType;
|
||||
iw.type = EInfoWindowMode::MODAL;
|
||||
if(!iw.components.empty() || !iw.text.toString().empty())
|
||||
cb->showInfoDialog(&iw);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user