diff --git a/src/dra/7A4D0.c b/src/dra/7A4D0.c index 277b9126c..945b03491 100644 --- a/src/dra/7A4D0.c +++ b/src/dra/7A4D0.c @@ -107,10 +107,12 @@ void func_8011A4D0(void) { entity->pfnUpdate = g_DraEntityTbl[15]; } else if (entityId >= 0xF0) { // Objects F0-FC - entity->pfnUpdate = D_8017CC40[entityId]; + entity->pfnUpdate = + ((PfnEntityUpdate*)(&D_8017D000))[entityId - 0xF0]; } else { // Objects E0-EC - entity->pfnUpdate = D_80179C80[entityId]; + entity->pfnUpdate = + ((PfnEntityUpdate*)(&D_8017A000))[entityId - 0xE0]; } } if ((temp_s2 == 0) || (entity->flags & FLAG_UNK_10000)) { diff --git a/src/dra/dra.h b/src/dra/dra.h index 0b5bbdf9c..28cae9d08 100644 --- a/src/dra/dra.h +++ b/src/dra/dra.h @@ -825,9 +825,7 @@ extern s8 D_8013B690; extern s32 D_8013B694; extern s32 D_8013B69C; extern PfnEntityUpdate D_8016FCC0[]; -extern PfnEntityUpdate D_80179C80[]; extern Weapon D_8017A000; -extern PfnEntityUpdate D_8017CC40[]; extern Weapon D_8017D000; extern void (*D_80170000)(s32 arg0); extern ImgSrc* g_imgUnk8013C200;