mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
* fix for bug 170
This commit is contained in:
parent
fdcb286044
commit
dd7991c541
@ -408,7 +408,7 @@ void CGameHandler::startBattle(const CArmedInstance *army1, const CArmedInstance
|
||||
|
||||
for(int g=0; g<gs->curB->stacks.size(); ++g)
|
||||
{
|
||||
if(gs->curB->stacks[g]->attackerOwned)
|
||||
if(gs->curB->stacks[g]->attackerOwned && gs->curB->stacks[g]->alive())
|
||||
{
|
||||
attack.destinationTile = gs->curB->stacks[g]->position;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user