diff options
| author | louist103 <louist103@gmail.com> | 2022-10-25 11:00:27 -0400 |
|---|---|---|
| committer | louist103 <louist103@gmail.com> | 2022-10-25 11:00:27 -0400 |
| commit | 6315fea675deb209ebeae75dd032d2bbe01be083 (patch) | |
| tree | 11c729b1c83c63d307303b499cc6cae54d5f62c1 /ZAPD | |
| parent | 0293bafafe118dde1a238ea2546940302eb1baa9 (diff) | |
Fix crash from destructor.
Diffstat (limited to 'ZAPD')
| -rw-r--r-- | ZAPD/ZRoom/Commands/SetActorList.cpp | 6 | ||||
| -rw-r--r-- | ZAPD/ZRoom/Commands/SetActorList.h | 1 |
2 files changed, 0 insertions, 7 deletions
diff --git a/ZAPD/ZRoom/Commands/SetActorList.cpp b/ZAPD/ZRoom/Commands/SetActorList.cpp index b3c186f..4d16f93 100644 --- a/ZAPD/ZRoom/Commands/SetActorList.cpp +++ b/ZAPD/ZRoom/Commands/SetActorList.cpp @@ -11,12 +11,6 @@ SetActorList::SetActorList(ZFile* nParent) : ZRoomCommand(nParent) { } -SetActorList::~SetActorList() -{ - if (actorList != nullptr) - delete actorList; -} - void SetActorList::ParseRawData() { ZRoomCommand::ParseRawData(); diff --git a/ZAPD/ZRoom/Commands/SetActorList.h b/ZAPD/ZRoom/Commands/SetActorList.h index f3eed93..4d21616 100644 --- a/ZAPD/ZRoom/Commands/SetActorList.h +++ b/ZAPD/ZRoom/Commands/SetActorList.h @@ -10,7 +10,6 @@ public: ZActorList* actorList = nullptr; SetActorList(ZFile* nParent); - ~SetActorList(); void ParseRawData() override; void DeclareReferences(const std::string& prefix) override; |
