Add virtual destructor to Battle.

This commit is contained in:
Deukhoofd 2020-02-17 15:52:02 +01:00
parent da90c3d59e
commit 445f7eb3d5
Signed by: Deukhoofd
GPG Key ID: ADF2E9256009EDCE
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ namespace CreatureLib::Battling {
}
}
~Battle() {
virtual ~Battle() {
for (auto s : _sides) {
delete s;
}