Give ExecutingAttack a virtual destructor.
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Deukhoofd 2019-11-10 14:33:26 +01:00
parent 3488784409
commit 2a98f051c9
1 changed files with 1 additions and 0 deletions

View File

@ -67,6 +67,7 @@ namespace CreatureLib::Battling {
LearnedAttack* _attack; LearnedAttack* _attack;
Script* _script; Script* _script;
public: public:
virtual ~ExecutingAttack() = default;
TargetData& GetAttackDataForTarget(Creature* creature){ TargetData& GetAttackDataForTarget(Creature* creature){
return _targets[creature]; return _targets[creature];