1
0
mirror of https://github.com/vcmi/vcmi.git synced 2026-05-22 09:55:17 +02:00

Fixed handling of tactics

This commit is contained in:
Ivan Savenko
2023-07-18 21:43:53 +03:00
parent 79be1c66fb
commit 556763fb7b
13 changed files with 41 additions and 23 deletions
+5
View File
@@ -249,6 +249,11 @@ BattleAction CBattleAI::selectStackAction(const CStack * stack)
return BattleAction::makeDefend(stack);
}
void CBattleAI::yourTacticPhase(int distance)
{
cb->battleMakeUnitAction(BattleAction::makeEndOFTacticPhase(cb->battleGetTacticsSide()));
}
void CBattleAI::activeStack( const CStack * stack )
{
LOG_TRACE_PARAMS(logAi, "stack: %s", stack->nodeName());