summaryrefslogtreecommitdiff
path: root/tools/ZAPD/ExporterTest/CollisionExporter.cpp
diff options
context:
space:
mode:
authorDragorn421 <Dragorn421@users.noreply.github.com>2023-10-25 03:36:10 +0200
committerGitHub <noreply@github.com>2023-10-24 21:36:10 -0400
commit4e55168eaa4562ab131ea314a5fe4c22b591d827 (patch)
tree023bada6c951f608f4a7811d116ed0eb6042be18 /tools/ZAPD/ExporterTest/CollisionExporter.cpp
parent503f6d86d5fca5bd234640ef9de597d413cb91f5 (diff)
Update ZAPD (#1569)
* git subrepo pull --force tools/ZAPD subrepo: subdir: "tools/ZAPD" merged: "094e79734" upstream: origin: "https://github.com/zeldaret/ZAPD.git" branch: "master" commit: "094e79734" git-subrepo: version: "0.4.6" origin: "https://github.com/ingydotnet/git-subrepo" commit: "110b9eb" * Add EnumData.xml where some names are now externalized * Remove legacy typedefs for zapd, no longer needed!
Diffstat (limited to 'tools/ZAPD/ExporterTest/CollisionExporter.cpp')
-rw-r--r--tools/ZAPD/ExporterTest/CollisionExporter.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/ZAPD/ExporterTest/CollisionExporter.cpp b/tools/ZAPD/ExporterTest/CollisionExporter.cpp
index db5ad1a79..6431a4593 100644
--- a/tools/ZAPD/ExporterTest/CollisionExporter.cpp
+++ b/tools/ZAPD/ExporterTest/CollisionExporter.cpp
@@ -67,9 +67,9 @@ void ExporterExample_Collision::Save(ZResource* res, [[maybe_unused]] fs::path o
for (auto entry : col->camData->entries)
{
- writer->Write(entry->cameraSType);
- writer->Write(entry->numData);
- writer->Write(entry->cameraPosDataSeg);
+ writer->Write(entry.cameraSType);
+ writer->Write(entry.numData);
+ writer->Write(entry.cameraPosDataSeg);
}
writer->Seek(oldOffset, SeekOffsetType::Start);