mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-07-16 10:02:59 -07:00
remove out of bounds array access, matching upstream fix (#4751)
This commit is contained in:
parent
9ea9100787
commit
781bbb85ae
1 changed files with 2 additions and 2 deletions
|
@ -92,8 +92,8 @@ void EnDyExtra_Update(Actor* thisx, PlayState* play) {
|
||||||
void EnDyExtra_Draw(Actor* thisx, PlayState* play) {
|
void EnDyExtra_Draw(Actor* thisx, PlayState* play) {
|
||||||
static Color_RGBA8 primColors[] = { { 255, 255, 170, 255 }, { 255, 255, 170, 255 } };
|
static Color_RGBA8 primColors[] = { { 255, 255, 170, 255 }, { 255, 255, 170, 255 } };
|
||||||
static Color_RGBA8 envColors[] = { { 255, 100, 255, 255 }, { 100, 255, 255, 255 } };
|
static Color_RGBA8 envColors[] = { { 255, 100, 255, 255 }, { 100, 255, 255, 255 } };
|
||||||
static u8 D_809FFC50[] = { 0x02, 0x01, 0x01, 0x02, 0x00, 0x00, 0x02, 0x01, 0x00, 0x02, 0x01, 0x00, 0x02,
|
static u8 D_809FFC50[] = { 0x02, 0x01, 0x01, 0x02, 0x00, 0x00, 0x02, 0x01, 0x00, 0x02, 0x01, 0x00, 0x02, 0x01,
|
||||||
0x01, 0x00, 0x02, 0x01, 0x00, 0x02, 0x01, 0x00, 0x02, 0x01, 0x00, 0x01, 0x02 };
|
0x00, 0x02, 0x01, 0x00, 0x02, 0x01, 0x00, 0x02, 0x01, 0x00, 0x01, 0x02, 0x00 };
|
||||||
EnDyExtra* this = (EnDyExtra*)thisx;
|
EnDyExtra* this = (EnDyExtra*)thisx;
|
||||||
s32 pad;
|
s32 pad;
|
||||||
GraphicsContext* gfxCtx = play->state.gfxCtx;
|
GraphicsContext* gfxCtx = play->state.gfxCtx;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue