1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-17 00:07:41 +02:00

Implemented tavern slot selection using rules similar to H3

This commit is contained in:
Ivan Savenko
2023-07-11 23:08:30 +03:00
parent ec7e046617
commit 9a38d8ea97
8 changed files with 144 additions and 29 deletions

View File

@ -942,7 +942,7 @@ void FoWChange::applyGs(CGameState *gs)
void SetAvailableHero::applyGs(CGameState *gs)
{
gs->hpool->setHeroForPlayer(player, TavernHeroSlot(slotID), hid, army);
gs->hpool->setHeroForPlayer(player, slotID, hid, army, roleID);
}
void GiveBonus::applyGs(CGameState *gs)