summaryrefslogtreecommitdiff
path: root/src/code/z_path.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/code/z_path.c')
-rw-r--r--src/code/z_path.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/code/z_path.c b/src/code/z_path.c
index db3c8af4d..d27530eb3 100644
--- a/src/code/z_path.c
+++ b/src/code/z_path.c
@@ -4,7 +4,7 @@ Path* Path_GetByIndex(PlayState* play, s16 index, s16 max) {
Path* path;
if (index != max) {
- path = &play->setupPathList[index];
+ path = &play->pathList[index];
} else {
path = NULL;
}