diff --git a/src/Battling/Models/Creature.hpp b/src/Battling/Models/Creature.hpp index 164dcec..27bf98d 100644 --- a/src/Battling/Models/Creature.hpp +++ b/src/Battling/Models/Creature.hpp @@ -132,7 +132,7 @@ namespace CreatureLib::Battling { } void SetBattleData(const ArbUt::BorrowedPtr& battle, const ArbUt::BorrowedPtr& side); - void ClearBattleData() noexcept; + virtual void ClearBattleData() noexcept; inline const ArbUt::OptionalBorrowedPtr& GetBattle() const { return _battleData.Battle; } inline const ArbUt::OptionalBorrowedPtr& GetBattleSide() const { return _battleData.Side; } void SetOnBattleField(bool value);