1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-24 03:47:18 +02:00

Shooters with attack twice no longer attacks twice melee. (This assumes shooters would never be able to attack twice in melee)

This commit is contained in:
OnionKnight 2009-08-16 03:52:14 +00:00
parent f9881af0a6
commit 2b44cd35b6

View File

@ -2371,6 +2371,7 @@ bool CGameHandler::makeBattleAction( BattleAction &ba )
//second attack
if(curStack->valOfFeatures(StackFeature::ADDITIONAL_ATTACK) > 0
&& !curStack->hasFeatureOfType(StackFeature::SHOOTER)
&& curStack->alive()
&& stackAtEnd->alive() )
{