diff --git a/apps/openmw/mwmechanics/aicombataction.hpp b/apps/openmw/mwmechanics/aicombataction.hpp index 4874058387..52a085ef8b 100644 --- a/apps/openmw/mwmechanics/aicombataction.hpp +++ b/apps/openmw/mwmechanics/aicombataction.hpp @@ -14,6 +14,7 @@ namespace MWMechanics class Action { public: + virtual ~Action() {}; virtual void prepare(const MWWorld::Ptr& actor) = 0; virtual void getCombatRange (float& rangeAttack, float& rangeFollow) = 0; virtual float getActionCooldown() { return 0.f; }