mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-15 00:05:02 +02:00
Fixed #1124. Probably also other bugs related to two-hex creatures (or they were already resolved).
This commit is contained in:
@ -775,8 +775,7 @@ void CGameHandler::prepareAttack(BattleAttack &bat, const CStack *att, const CSt
|
||||
|
||||
if (!bat.shot()) //multiple-hex attack - only in meele
|
||||
{
|
||||
std::set<const CStack*> attackedCreatures = gs->curB->getAttackedCreatures(att, targetHex);
|
||||
//TODO: get exact attacked hex for defender
|
||||
std::set<const CStack*> attackedCreatures = gs->curB->getAttackedCreatures(att, targetHex); //creatures other than primary target
|
||||
|
||||
BOOST_FOREACH(const CStack * stack, attackedCreatures)
|
||||
{
|
||||
|
Reference in New Issue
Block a user