1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

Add query for dwellings dialog

This commit is contained in:
Ivan Savenko
2023-10-04 17:24:19 +03:00
parent 3cb489e9bd
commit 39a92cdde3
13 changed files with 45 additions and 16 deletions

View File

@@ -394,7 +394,7 @@ void CGDwelling::heroAcceptsCreatures( const CGHeroInstance *h) const
}
auto windowMode = (ID == Obj::CREATURE_GENERATOR1 || ID == Obj::REFUGEE_CAMP) ? EOpenWindowMode::RECRUITMENT_FIRST : EOpenWindowMode::RECRUITMENT_ALL;
cb->showObjectWindow(this, windowMode, h, false);
cb->showObjectWindow(this, windowMode, h, true);
}
}