Make Clone functions const.

Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
This commit is contained in:
2021-04-11 16:01:18 +02:00
parent 84a14cff2b
commit 2b1a1792bf
11 changed files with 11 additions and 11 deletions

View File

@@ -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) {