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

Fix inability of unit to cast spell after receiving morale

This commit is contained in:
Ivan Savenko
2025-04-28 19:34:36 +03:00
parent 5433b07e5f
commit 5550edeb9a
16 changed files with 62 additions and 26 deletions

View File

@@ -2007,7 +2007,7 @@ void BattleNextRound::applyGs(CGameState *gs)
void BattleSetActiveStack::applyGs(CGameState *gs)
{
gs->getBattle(battleID)->nextTurn(stack);
gs->getBattle(battleID)->nextTurn(stack, reason);
}
void BattleTriggerEffect::applyGs(CGameState *gs)