Make Clone functions const.
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
This commit is contained in:
@@ -43,7 +43,7 @@ namespace CreatureLib::Battling {
|
||||
return false;
|
||||
}
|
||||
|
||||
virtual BattleParty* Clone() { return new BattleParty(_party->Clone(), _responsibleIndices); }
|
||||
virtual BattleParty* Clone() const { return new BattleParty(_party->Clone(), _responsibleIndices); }
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user