summaryrefslogtreecommitdiff
path: root/src/object
diff options
context:
space:
mode:
authorTal Hayon <talhayon1@gmail.com>2022-04-17 20:33:32 +0300
committerTal Hayon <talhayon1@gmail.com>2022-04-17 20:33:32 +0300
commitdcbdf53c113c46b477e419d51c747e7dd578cd8f (patch)
tree200672c2fbaea06fd75ee460c39d55da0e637924 /src/object
parente6931831b62afea1ab2db798c31e7d5766e75d4c (diff)
Put const data in frozenFlower
Diffstat (limited to 'src/object')
-rw-r--r--src/object/frozenFlower.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/object/frozenFlower.c b/src/object/frozenFlower.c
index e576218b..73a85446 100644
--- a/src/object/frozenFlower.c
+++ b/src/object/frozenFlower.c
@@ -1,9 +1,14 @@
#include "object.h"
-extern void (*const gUnk_0812119C[])(Entity*);
+void sub_0808A9DC(Entity*);
+void nullsub_519(Entity*);
void FrozenFlower(Entity* this) {
- gUnk_0812119C[this->action](this);
+ static void (*const actionFuncs[])(Entity*) = {
+ sub_0808A9DC,
+ nullsub_519,
+ };
+ actionFuncs[this->action](this);
}
void sub_0808A9DC(Entity* this) {