mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-26 03:52:01 +02:00
CPathfinder: fix movement into guardian tile
This commit is contained in:
parent
0be9d21132
commit
324cf5490c
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user