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