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:
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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user