From f8c294ad0b0183539fc92f55152fb2eaa923f063 Mon Sep 17 00:00:00 2001 From: Dydzio Date: Sun, 2 Jul 2017 22:24:01 +0200 Subject: [PATCH] Fix attack cursor on guarded visitable object --- lib/CPathfinder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/CPathfinder.cpp b/lib/CPathfinder.cpp index dc9c5e949..2a1bfaf37 100644 --- a/lib/CPathfinder.cpp +++ b/lib/CPathfinder.cpp @@ -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;