1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-03-21 21:17:49 +02:00

Fix attack cursor on guarded visitable object

This commit is contained in:
Dydzio 2017-07-02 22:24:01 +02:00 committed by AlexVinS
parent f599187563
commit f8c294ad0b

@ -830,7 +830,7 @@ void DestinationActionRule::process(
if(action == CGPathNode::NORMAL)
{
if(pathfinderConfig->options.originalMovementRules && destination.guarded)
if(destination.guarded)
action = CGPathNode::BATTLE;
else
action = CGPathNode::VISIT;