mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-06 09:09:40 +02:00
Support for wall penalty & No Wall Penalty ability.
All creature abilities should now be more or less working.
This commit is contained in:
@@ -3147,7 +3147,7 @@ bool CGameHandler::makeBattleAction( BattleAction &ba )
|
||||
CHeroHandler::SBallisticsLevelInfo sbi = VLC->heroh->ballistics[attackingHero->getSecSkillLevel(CGHeroInstance::BALLISTICS)];
|
||||
|
||||
int attackedPart = gs->curB->hexToWallPart(ba.destinationTile);
|
||||
if(attackedPart == -1)
|
||||
if(attackedPart < 0)
|
||||
{
|
||||
complain("catapult tried to attack non-catapultable hex!");
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user