summaryrefslogtreecommitdiff
path: root/ZAPD/ZPath.cpp
diff options
context:
space:
mode:
authorbriaguya <70942617+briaguya-ai@users.noreply.github.com>2023-10-17 22:04:12 -0400
committerbriaguya <70942617+briaguya-ai@users.noreply.github.com>2023-10-17 22:04:12 -0400
commite9f4fc638ed904cc0dcdac24ea7708c9a220a702 (patch)
tree114c3d432697e04831741e623ae2340f6239bbe9 /ZAPD/ZPath.cpp
parentdcf56d93ecbd4db3bfd8a4832d7f991467964b98 (diff)
update to latest version used by SoH
Diffstat (limited to 'ZAPD/ZPath.cpp')
-rw-r--r--ZAPD/ZPath.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/ZAPD/ZPath.cpp b/ZAPD/ZPath.cpp
index 0dac87a..849b4ed 100644
--- a/ZAPD/ZPath.cpp
+++ b/ZAPD/ZPath.cpp
@@ -144,8 +144,8 @@ void PathwayEntry::DeclareReferences(const std::string& prefix)
return;
std::string pointsName;
- bool addressFound =
- Globals::Instance->GetSegmentedPtrName(listSegmentAddress, parent, "Vec3s", pointsName);
+ bool addressFound = Globals::Instance->GetSegmentedPtrName(listSegmentAddress, parent, "Vec3s",
+ pointsName, parent->workerID);
if (addressFound)
return;
@@ -179,7 +179,8 @@ std::string PathwayEntry::GetBodySourceCode() const
{
std::string declaration;
std::string listName;
- Globals::Instance->GetSegmentedPtrName(listSegmentAddress, parent, "Vec3s", listName);
+ Globals::Instance->GetSegmentedPtrName(listSegmentAddress, parent, "Vec3s", listName,
+ parent->workerID);
if (Globals::Instance->game == ZGame::MM_RETAIL)
declaration +=