summaryrefslogtreecommitdiff
path: root/ZAPD/ZCollision.cpp
diff options
context:
space:
mode:
authorfig02 <fig02srl@gmail.com>2021-01-08 07:27:18 -0500
committerGitHub <noreply@github.com>2021-01-08 07:27:18 -0500
commit6a97e0479b7b7ee3aa979303d76c4381d3efc813 (patch)
tree56e3f7e4e0f8bc679545edb7cc596c5830718892 /ZAPD/ZCollision.cpp
parentae3d5b9e51ff3645aa494154cc8f7a3c1bf8c354 (diff)
Replace RoomPoly with CollisionPoly (#66)
* small changes * brackets
Diffstat (limited to 'ZAPD/ZCollision.cpp')
-rw-r--r--ZAPD/ZCollision.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/ZAPD/ZCollision.cpp b/ZAPD/ZCollision.cpp
index 31901e8..20d1a3c 100644
--- a/ZAPD/ZCollision.cpp
+++ b/ZAPD/ZCollision.cpp
@@ -98,8 +98,7 @@ ZCollisionHeader::ZCollisionHeader(ZFile* parent, const std::string& prefix, con
}
if (polySegmentOffset != 0) {
- parent->AddDeclarationArray(polySegmentOffset, DeclarationAlignment::None, polygons.size() * 16, "RoomPoly", // TODO: Change this to CollisionPoly once the struct has been updated
- StringHelper::Sprintf("%s_polygons_%08X", prefix.c_str(), polySegmentOffset), 0, declaration);
+ parent->AddDeclarationArray(polySegmentOffset, DeclarationAlignment::None, polygons.size() * 16, "CollisionPoly", StringHelper::Sprintf("%s_polygons_%08X", prefix.c_str(), polySegmentOffset), 0, declaration);
}
}