Adds extra entry to obj_lift FallTimerDurations. (#1777)

Prevents an OOB access that, as far as I know, was only causing issues
on the Switch, but this addition is harmless everywhere else.
This commit is contained in:
Christopher Leggett 2022-10-14 18:00:48 -04:00 committed by GitHub
parent dd6a8b5084
commit 1b6dd8a0fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ const ActorInit Obj_Lift_InitVars = {
NULL,
};
static s16 sFallTimerDurations[] = { 0, 10, 20, 30, 40, 50, 60 };
static s16 sFallTimerDurations[] = { 0, 10, 20, 30, 40, 50, 60, 0 };
typedef struct {
/* 0x00 */ s16 x;