From 2322ab3125f5e238b18f0cbfd05c2e3767c9e2e7 Mon Sep 17 00:00:00 2001 From: Allofich Date: Thu, 12 Jan 2017 00:07:22 +0900 Subject: [PATCH] Don't make Command spells cancel AI packages (Fixes #3649) --- apps/openmw/mwmechanics/aifollow.hpp | 1 + 1 file changed, 1 insertion(+) 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;