From 961b4f01423d2972455ff93d3598c64cf05e8c94 Mon Sep 17 00:00:00 2001 From: cc9cii Date: Fri, 29 Aug 2014 07:48:52 +1000 Subject: [PATCH 1/2] Suppress a warning. --- apps/openmw/mwmechanics/aicombataction.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/openmw/mwmechanics/aicombataction.hpp b/apps/openmw/mwmechanics/aicombataction.hpp index 487405838..52a085ef8 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; } From fa0352cd75896b1a8724c58f7debbea40288cc9e Mon Sep 17 00:00:00 2001 From: cc9cii Date: Fri, 29 Aug 2014 10:47:44 +1000 Subject: [PATCH 2/2] fix typo --- apps/openmw/mwmechanics/aicombataction.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/openmw/mwmechanics/aicombataction.hpp b/apps/openmw/mwmechanics/aicombataction.hpp index 52a085ef8..1c7451c32 100644 --- a/apps/openmw/mwmechanics/aicombataction.hpp +++ b/apps/openmw/mwmechanics/aicombataction.hpp @@ -14,7 +14,7 @@ namespace MWMechanics class Action { public: - virtual ~Action() {}; + virtual ~Action() {} virtual void prepare(const MWWorld::Ptr& actor) = 0; virtual void getCombatRange (float& rangeAttack, float& rangeFollow) = 0; virtual float getActionCooldown() { return 0.f; }