1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-03 00:46:55 +02:00

Fix toggling of auto combat

This commit is contained in:
Ivan Savenko
2023-07-19 15:15:23 +03:00
parent c3584f7f91
commit e6d8b65e2c
3 changed files with 2 additions and 8 deletions

View File

@ -154,11 +154,6 @@ void BattleStacksController::collectRenderableObjects(BattleRenderer & renderer)
void BattleStacksController::stackReset(const CStack * stack)
{
owner.checkForAnimations();
//reset orientation?
//stackFacingRight[stack->unitId()] = stack->unitSide() == BattleSide::ATTACKER;
auto iter = stackAnimation.find(stack->unitId());
if(iter == stackAnimation.end())