mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-14 02:33:51 +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)
|
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;
|
attack.destinationTile = gs->curB->stacks[g]->position;
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user