Give ExecutingAttack a virtual destructor.
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
3488784409
commit
2a98f051c9
|
@ -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];
|
||||||
|
|
Loading…
Reference in New Issue