summaryrefslogtreecommitdiff
path: root/ZAPD/ZRoom/Commands/SetTransitionActorList.cpp
diff options
context:
space:
mode:
authorNicholas Estelami <NEstelami@users.noreply.github.com>2021-01-08 17:38:31 -0500
committerGitHub <noreply@github.com>2021-01-08 17:38:31 -0500
commitfd4d53a2684871a1ac28668515d025470a45ef7f (patch)
tree47ebf84c86c4f1b943b95029debf1d13759f456e /ZAPD/ZRoom/Commands/SetTransitionActorList.cpp
parent1bacd7fdc964ad9eec9d8b56373eb10e10723d2f (diff)
Fixed bug with declarations at 0x0000, and fixed improperly sized palettes. (#65)
* Fixed bug with extraction of ci4 textures * Made a bunch of declarations static * Removed manual writes to declarations dictionary from external classes. * Added a bunch of deconstructors, freed a bunch of stuff * Fixed bug with declarations at 0x0000, and fixed issue with palette sizing. * Fixed VS Lib and Include Dirs
Diffstat (limited to 'ZAPD/ZRoom/Commands/SetTransitionActorList.cpp')
-rw-r--r--ZAPD/ZRoom/Commands/SetTransitionActorList.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/ZAPD/ZRoom/Commands/SetTransitionActorList.cpp b/ZAPD/ZRoom/Commands/SetTransitionActorList.cpp
index b163f6e..78fc564 100644
--- a/ZAPD/ZRoom/Commands/SetTransitionActorList.cpp
+++ b/ZAPD/ZRoom/Commands/SetTransitionActorList.cpp
@@ -25,6 +25,12 @@ SetTransitionActorList::SetTransitionActorList(ZRoom* nZRoom, std::vector<uint8_
}
}
+SetTransitionActorList::~SetTransitionActorList()
+{
+ for (TransitionActorEntry* actor : transitionActors)
+ delete actor;
+}
+
string SetTransitionActorList::GetSourceOutputCode(std::string prefix)
{
return "";