Make ClearBattleData virtual
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Deukhoofd 2022-03-26 12:12:10 +01:00
parent 24f18c775d
commit 4bb353e75b
Signed by: Deukhoofd
GPG Key ID: F63E044490819F6F
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ namespace CreatureLib::Battling {
}
void SetBattleData(const ArbUt::BorrowedPtr<Battle>& battle, const ArbUt::BorrowedPtr<BattleSide>& side);
void ClearBattleData() noexcept;
virtual void ClearBattleData() noexcept;
inline const ArbUt::OptionalBorrowedPtr<Battle>& GetBattle() const { return _battleData.Battle; }
inline const ArbUt::OptionalBorrowedPtr<BattleSide>& GetBattleSide() const { return _battleData.Side; }
void SetOnBattleField(bool value);