Bläddra i källkod

Fix attack cursor on guarded visitable object

Dydzio 8 år sedan
förälder
incheckning
f8c294ad0b
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      lib/CPathfinder.cpp

+ 1 - 1
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;