1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

* minor fix for commit r1178

This commit is contained in:
mateuszb 2009-09-01 14:02:47 +00:00
parent d25a5a795e
commit 1fd156e79d

View File

@ -2480,6 +2480,7 @@ bool CGameHandler::makeBattleAction( BattleAction &ba )
}
case 9: //catapult
{
sendAndApply(&StartAction(ba));
const CGHeroInstance * attackingHero = (ba.side) ? gs->getHero(gs->curB->hero2) : gs->getHero(gs->curB->hero1);
CHeroHandler::SBallisticsLevelInfo sbi = VLC->heroh->ballistics[attackingHero->getSecSkillLevel(20)]; //artillery
@ -2539,6 +2540,7 @@ bool CGameHandler::makeBattleAction( BattleAction &ba )
sendAndApply(&ca);
}
sendAndApply(&EndAction());
break;
}
}