mirror of
https://github.com/vcmi/vcmi.git
synced 2025-09-16 09:26:28 +02:00
CPathfinder: fix movement into guardian tile
This commit is contained in:
@@ -443,8 +443,8 @@ bool CPathfinder::isMovementAfterDestPossible() const
|
||||
break;
|
||||
|
||||
case CGPathNode::BATTLE:
|
||||
/// Movement after BATTLE action only possible to guardian tile
|
||||
if(isDestinationGuardian())
|
||||
/// Movement after BATTLE action only possible from guarded tile to guardian tile
|
||||
if(isDestinationGuarded())
|
||||
return true;
|
||||
|
||||
break;
|
||||
|
Reference in New Issue
Block a user