diff options
| author | Anghelo Carvajal <angheloalf95@gmail.com> | 2021-10-16 22:21:04 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-16 21:21:04 -0400 |
| commit | d0cd6b3974706fc4d89c9b6545b8c17dd424b664 (patch) | |
| tree | adce2c5394489cab708303e63b80e697dd6c16cc /ZAPD/ZRoom/Commands/SetTransitionActorList.cpp | |
| parent | e243634e5b0e7a7e3a6a5b2e7e9d73676df956ca (diff) | |
Fix static forward declarations for remaining resources (#202)
* Add sizes to almost every extracted array
* Remove redundant stuff in zfile
(cherry picked from commit c1cbf20f6786994dabdaf9e0cb95549fe7adcf34)
* this is dumb
* format
* Fix merge issue
* whoops
Diffstat (limited to 'ZAPD/ZRoom/Commands/SetTransitionActorList.cpp')
| -rw-r--r-- | ZAPD/ZRoom/Commands/SetTransitionActorList.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ZAPD/ZRoom/Commands/SetTransitionActorList.cpp b/ZAPD/ZRoom/Commands/SetTransitionActorList.cpp index d47ca34..a33d1c6 100644 --- a/ZAPD/ZRoom/Commands/SetTransitionActorList.cpp +++ b/ZAPD/ZRoom/Commands/SetTransitionActorList.cpp @@ -45,8 +45,8 @@ void SetTransitionActorList::DeclareReferences(const std::string& prefix) parent->AddDeclarationArray( segmentOffset, DeclarationAlignment::Align4, transitionActors.size() * 16, "TransitionActorEntry", - StringHelper::Sprintf("%sTransitionActorList_%06X", prefix.c_str(), segmentOffset), 0, - declaration); + StringHelper::Sprintf("%sTransitionActorList_%06X", prefix.c_str(), segmentOffset), + transitionActors.size(), declaration); } std::string SetTransitionActorList::GetBodySourceCode() const |
