summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Leggett <chris@leggett.dev>2023-05-07 22:54:54 -0400
committerGitHub <noreply@github.com>2023-05-07 22:54:54 -0400
commit5292e5fd135d73c53eb97fd4f2d92ec29160ae11 (patch)
tree4ab5b6a4f9ac9c76746462a63d470cfadbd0ecf8
parent17a6570bf661d51edf92f00145ea1c7d07c9cfa5 (diff)
Reverts part of PR #2851 that required OTR regen. (#2856)
-rw-r--r--OTRExporter/CollisionExporter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/OTRExporter/CollisionExporter.cpp b/OTRExporter/CollisionExporter.cpp
index f773741..3aab347 100644
--- a/OTRExporter/CollisionExporter.cpp
+++ b/OTRExporter/CollisionExporter.cpp
@@ -41,8 +41,8 @@ void OTRExporter_Collision::Save(ZResource* res, const fs::path& outPath, Binary
writer->Write((uint32_t)col->PolygonTypes.size());
for (uint16_t i = 0; i < col->PolygonTypes.size(); i++) {
- writer->Write(col->PolygonTypes[i].data[0]);
writer->Write(col->PolygonTypes[i].data[1]);
+ writer->Write(col->PolygonTypes[i].data[0]);
}
writer->Write((uint32_t)col->camData->entries.size());