瀏覽代碼

Fix attack cursor on guarded visitable object

Dydzio 8 年之前
父節點
當前提交
f8c294ad0b
共有 1 個文件被更改,包括 1 次插入1 次删除
  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;