diff options
| -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; |
