forked from mirror/openmw-tes3mp
Merge pull request #1190 from Allofich/command
Don't make Command spells cancel AI packages
This commit is contained in:
commit
4307c7dd89
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue