mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-06 09:09:40 +02:00
Merge pull request #3118 from rilian-la-te/glamor-slight-bonus-fixes
Small bonus fixes
This commit is contained in:
@@ -854,6 +854,8 @@ int BattleActionProcessor::moveStack(const CBattleInfoCallback & battle, int sta
|
||||
|| start == battle::Unit::occupiedHex(dest, curStack->doubleWide(), curStack->unitSide()))
|
||||
passed.clear(); //Just empty passed, obstacles will handled automatically
|
||||
}
|
||||
if(dest == start) //If dest is equal to start, then we should handle obstacles for it anyway
|
||||
passed.clear(); //Just empty passed, obstacles will handled automatically
|
||||
//handling obstacle on the final field (separate, because it affects both flying and walking stacks)
|
||||
battle.handleObstacleTriggersForUnit(*gameHandler->spellEnv, *curStack, passed);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user