mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-08-13 17:03:47 -04:00
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:
parent
dd6a8b5084
commit
1b6dd8a0fe
@ -36,7 +36,7 @@ const ActorInit Obj_Lift_InitVars = {
|
|||||||
NULL,
|
NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
static s16 sFallTimerDurations[] = { 0, 10, 20, 30, 40, 50, 60 };
|
static s16 sFallTimerDurations[] = { 0, 10, 20, 30, 40, 50, 60, 0 };
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
/* 0x00 */ s16 x;
|
/* 0x00 */ s16 x;
|
||||||
|
Loading…
Reference in New Issue
Block a user