1
0
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:
mateuszb 2009-10-17 13:50:09 +00:00
parent fdcb286044
commit dd7991c541

View File

@ -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;