mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-27 15:11:36 -04: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