mirror of
https://github.com/zeldaret/oot
synced 2026-06-26 10:21:54 -04:00
PlayState Rename (#1231)
* global context -> play * fix PlayState* PlayState
This commit is contained in:
+2
-2
@@ -1,10 +1,10 @@
|
||||
#include "global.h"
|
||||
|
||||
Path* Path_GetByIndex(GlobalContext* globalCtx, s16 index, s16 max) {
|
||||
Path* Path_GetByIndex(PlayState* play, s16 index, s16 max) {
|
||||
Path* path;
|
||||
|
||||
if (index != max) {
|
||||
path = &globalCtx->setupPathList[index];
|
||||
path = &play->setupPathList[index];
|
||||
} else {
|
||||
path = NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user