1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-28 12:40:06 +00:00

Merge pull request #1190 from Allofich/command

Don't make Command spells cancel AI packages
This commit is contained in:
scrawl 2017-01-11 18:35:24 +01:00 committed by GitHub
commit 4307c7dd89

View File

@ -37,6 +37,7 @@ namespace MWMechanics
MWWorld::Ptr getTarget() const; MWWorld::Ptr getTarget() const;
virtual bool sideWithTarget() const { return true; } virtual bool sideWithTarget() const { return true; }
virtual bool followTargetThroughDoors() const { return true; } virtual bool followTargetThroughDoors() const { return true; }
virtual bool shouldCancelPreviousAi() const { return !mCommanded; }
virtual AiFollow *clone() const; virtual AiFollow *clone() const;