Make ExecutingAttack use smart pointers.

This commit is contained in:
2020-06-02 18:02:37 +02:00
parent a5a613ba5c
commit 7262ae9e8b
5 changed files with 15 additions and 14 deletions

View File

@@ -45,7 +45,7 @@ const ConstString& Battling::Creature::GetActiveTalent() const {
return _variant->GetTalent(_talentIndex);
}
void Battling::Creature::SetBattleData(ArbUt::BorrowedPtr<Battle> battle, BattleSide* side) {
void Battling::Creature::SetBattleData(ArbUt::BorrowedPtr<Battle> battle, ArbUt::BorrowedPtr<BattleSide> side) {
_battle = battle;
_side = side;
this->ResetActiveScripts();