mirror of
https://github.com/zeldaret/tmc
synced 2026-07-30 07:54:38 -04:00
Put const data in bell
This commit is contained in:
+7
-2
@@ -1,9 +1,14 @@
|
||||
#include "object.h"
|
||||
|
||||
extern void (*gUnk_08123384[])(Entity*);
|
||||
void sub_08097D90(Entity*);
|
||||
void sub_08097DCC(Entity*);
|
||||
|
||||
void Bell(Entity* ent) {
|
||||
gUnk_08123384[ent->action](ent);
|
||||
static void (*const actionFuncs[])(Entity*) = {
|
||||
sub_08097D90,
|
||||
sub_08097DCC,
|
||||
};
|
||||
actionFuncs[ent->action](ent);
|
||||
}
|
||||
|
||||
void sub_08097D90(Entity* ent) {
|
||||
|
||||
Reference in New Issue
Block a user