mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-17 00:07:41 +02:00
Fix inability of unit to cast spell after receiving morale
This commit is contained in:
@ -769,7 +769,7 @@ void ApplyClientNetPackVisitor::visitBattleNextRound(BattleNextRound & pack)
|
||||
|
||||
void ApplyClientNetPackVisitor::visitBattleSetActiveStack(BattleSetActiveStack & pack)
|
||||
{
|
||||
if(!pack.askPlayerInterface)
|
||||
if(pack.reason == BattleUnitTurnReason::AUTOMATIC_ACTION)
|
||||
return;
|
||||
|
||||
const CStack *activated = gs.getBattle(pack.battleID)->battleGetStackByID(pack.stack);
|
||||
|
Reference in New Issue
Block a user