diff --git a/apps/openmw/mwmechanics/aifollow.hpp b/apps/openmw/mwmechanics/aifollow.hpp index e46205b951..051a4a2ce1 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;