1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

Initial prototype works

This commit is contained in:
nordsoft
2022-11-05 03:23:31 +04:00
parent 48925a50f2
commit 0c4e50b63c
6 changed files with 89 additions and 59 deletions

View File

@@ -396,6 +396,10 @@ void CBattleDialogQuery::onRemoval(PlayerColor color)
{
gh->startBattlePrimary(bi->sides[0].armyObject, bi->sides[1].armyObject, bi->tile, bi->sides[0].hero, bi->sides[1].hero, bi->creatureBank, bi->town);
}
else
{
gh->endBattleConfirm(bi);
}
}
void CBlockingDialogQuery::notifyObjectAboutRemoval(const CObjectVisitQuery & objectVisit) const