Make Clone functions const.
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
This commit is contained in:
@@ -64,7 +64,7 @@ namespace CreatureLib::Battling {
|
||||
}
|
||||
}
|
||||
|
||||
virtual CreatureParty* Clone() {
|
||||
virtual CreatureParty* Clone() const {
|
||||
auto party = new CreatureParty(_party.Count());
|
||||
auto i = 0;
|
||||
for (auto c : _party) {
|
||||
|
||||
Reference in New Issue
Block a user