summaryrefslogtreecommitdiff
path: root/soh
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
commitb166bdd3fc2ed22df7369c14f251a205b03f22fb (patch)
tree54818cf9ca1112826dd153617794df5eaa029d80 /soh
parentf5aacaf38b87f9f4e5ef82406f5c38ba6e529843 (diff)
Reverts part of PR #2851 that required OTR regen. (#2856)
Diffstat (limited to 'soh')
-rw-r--r--soh/soh/resource/importer/CollisionHeaderFactory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/soh/soh/resource/importer/CollisionHeaderFactory.cpp b/soh/soh/resource/importer/CollisionHeaderFactory.cpp
index dbf1390df..a935ed7fd 100644
--- a/soh/soh/resource/importer/CollisionHeaderFactory.cpp
+++ b/soh/soh/resource/importer/CollisionHeaderFactory.cpp
@@ -77,8 +77,8 @@ void Ship::CollisionHeaderFactoryV0::ParseFileBinary(std::shared_ptr<BinaryReade
for (uint32_t i = 0; i < collisionHeader->surfaceTypesCount; i++) {
SurfaceType surfaceType;
- surfaceType.data[0] = reader->ReadUInt32();
surfaceType.data[1] = reader->ReadUInt32();
+ surfaceType.data[0] = reader->ReadUInt32();
collisionHeader->surfaceTypes.push_back(surfaceType);
}