aboutsummaryrefslogtreecommitdiff
path: root/plugins/cherry/cherry.c
diff options
context:
space:
mode:
authorElias Fleckenstein <eliasfleckenstein@web.de>2021-06-13 20:41:17 +0200
committerElias Fleckenstein <eliasfleckenstein@web.de>2021-06-13 20:41:17 +0200
commitbfcda608695b83ce6a3caefceaa79c8e392405d7 (patch)
treedbd4dcaebbc8157d536553ad03d7afb64031a34b /plugins/cherry/cherry.c
parent67dc975a29da3abed0834f0fefbeb7c905c16316 (diff)
downloaddungeon_game-bfcda608695b83ce6a3caefceaa79c8e392405d7.tar.xz
Add on_create callback for items
Diffstat (limited to 'plugins/cherry/cherry.c')
-rw-r--r--plugins/cherry/cherry.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/cherry/cherry.c b/plugins/cherry/cherry.c
index 436fcf9..f998770 100644
--- a/plugins/cherry/cherry.c
+++ b/plugins/cherry/cherry.c
@@ -18,6 +18,7 @@ static struct item cherry_item = {
.on_use = &use_cherry,
.on_destroy = NULL,
+ .on_create = NULL,
};
static void cherry_step(struct entity *self, struct entity_step_data stepdata)