diff options
| author | Derek Hensley <hensley.derek58@gmail.com> | 2023-06-04 19:46:39 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-05 12:46:39 +1000 |
| commit | cd53dd317fa1ce2958f2c6af618059a31db59076 (patch) | |
| tree | 3a5049342741e202ea94e2df39d08f3001e4f742 /src/code/z_path.c | |
| parent | 47bc7c12e2d28b8d8ed1cff8df9c17395aefce80 (diff) | |
Some pathing docs (#1205)
* Some pathing docs
* Missed one
* Uno mas
* Uno mas x2
* Cleanup
* fix
* namefixer
* NULL
* More
* PR
* Actually remove SQ
* -1 define, plus some more pathing cleanup
* Actor macros instead
* Format
* ADDITIONAL_PATH_INDEX_NONE
* Remove reliance on PATH_INDEX_NONE
* Missed some PathIndex cleanup
* Review
* format
Diffstat (limited to 'src/code/z_path.c')
| -rw-r--r-- | src/code/z_path.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/code/z_path.c b/src/code/z_path.c index 3c446d49a..76d7ce144 100644 --- a/src/code/z_path.c +++ b/src/code/z_path.c @@ -1,9 +1,9 @@ #include "global.h" -Path* Path_GetByIndex(PlayState* play, s16 index, s16 max) { +Path* Path_GetByIndex(PlayState* play, s16 index, s16 indexNone) { Path* path; - if (index != max) { + if (index != indexNone) { path = &play->setupPathList[index]; } else { path = NULL; |
