summaryrefslogtreecommitdiff
path: root/ZAPD/ZRoom/Commands/SetMesh.cpp
diff options
context:
space:
mode:
authorlouist103 <35883445+louist103@users.noreply.github.com>2023-10-19 23:52:25 -0400
committerGitHub <noreply@github.com>2023-10-19 23:52:25 -0400
commitc99878e642be7068626fe40071d2ba52561e8c77 (patch)
tree11a624b249effd57c1f06af33bc2811dba941133 /ZAPD/ZRoom/Commands/SetMesh.cpp
parent3f878d401fdcff6e7f898524f3bcf5cf4c2b2532 (diff)
Fixes for SoH (#12)
* build ZAPDTR * Fixed crashes --------- Co-authored-by: Nicholas Estelami <NEstelami@users.noreply.github.com>
Diffstat (limited to 'ZAPD/ZRoom/Commands/SetMesh.cpp')
-rw-r--r--ZAPD/ZRoom/Commands/SetMesh.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ZAPD/ZRoom/Commands/SetMesh.cpp b/ZAPD/ZRoom/Commands/SetMesh.cpp
index 68a8ab9..2a39766 100644
--- a/ZAPD/ZRoom/Commands/SetMesh.cpp
+++ b/ZAPD/ZRoom/Commands/SetMesh.cpp
@@ -597,7 +597,7 @@ void RoomShapeCullable::DeclareReferences(const std::string& prefix)
std::string RoomShapeCullable::GetBodySourceCode() const
{
std::string listName;
- Globals::Instance->GetSegmentedPtrName(start, parent, "", listName);
+ Globals::Instance->GetSegmentedPtrName(start, parent, "", listName, 0, true);
std::string body = StringHelper::Sprintf("\n %i, %i,\n", type, polyDLists.size());
body += StringHelper::Sprintf(" %s,\n", listName.c_str());