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