summaryrefslogtreecommitdiff
path: root/src/engine/courses/Course.cpp
diff options
context:
space:
mode:
authorMegaMech <MegaMech@users.noreply.github.com>2025-06-30 12:13:21 -0600
committerGitHub <noreply@github.com>2025-06-30 12:13:21 -0600
commit591322113ccc6950835e028b4553980f924dd621 (patch)
tree95722ccfc5583621415981d68226287bc0189dea /src/engine/courses/Course.cpp
parent956058a32dfa3f26a20bc65fa83ac916fde073ab (diff)
Update Course.cpp (#403)
Diffstat (limited to 'src/engine/courses/Course.cpp')
-rw-r--r--src/engine/courses/Course.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/engine/courses/Course.cpp b/src/engine/courses/Course.cpp
index 2f0f1e4c4..6049d8c69 100644
--- a/src/engine/courses/Course.cpp
+++ b/src/engine/courses/Course.cpp
@@ -116,6 +116,7 @@ void Course::LoadO2R(std::string trackPath) {
size_t i = 0;
for (auto& path : paths) {
if (i == 0) {
+ Props.PathSizes.unk0 = path.size();
Props.PathTable[0] = (TrackPathPoint*)path.data();
Props.PathTable[1] = NULL;
Props.PathTable[2] = NULL;