1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-24 08:32:34 +02:00
This commit is contained in:
mateuszb 2010-07-15 14:53:06 +00:00
parent bb5d765247
commit 1c15ee34e5

View File

@ -3584,7 +3584,7 @@ bool CGameHandler::makeBattleAction( BattleAction &ba )
{
sendAndApply(&StartAction(ba));
const CGHeroInstance * attackingHero = gs->curB->heroes[ba.side];
CHeroHandler::SBallisticsLevelInfo sbi = VLC->heroh->ballistics[attackingHero->getSecSkillLevel(20)]; //artillery
CHeroHandler::SBallisticsLevelInfo sbi = VLC->heroh->ballistics[attackingHero->getSecSkillLevel(10)]; //ballistics
int attackedPart = gs->curB->hexToWallPart(ba.destinationTile);
if(attackedPart == -1)