diff --git a/apps/openmw/mwmechanics/aifollow.hpp b/apps/openmw/mwmechanics/aifollow.hpp index e46205b95..051a4a2ce 100644 --- a/apps/openmw/mwmechanics/aifollow.hpp +++ b/apps/openmw/mwmechanics/aifollow.hpp @@ -37,6 +37,7 @@ namespace MWMechanics MWWorld::Ptr getTarget() const; virtual bool sideWithTarget() const { return true; } virtual bool followTargetThroughDoors() const { return true; } + virtual bool shouldCancelPreviousAi() const { return !mCommanded; } virtual AiFollow *clone() const;