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:
parent
d25a5a795e
commit
1fd156e79d
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user