diff options
author | Elias Fleckenstein <eliasfleckenstein@web.de> | 2021-06-13 20:41:17 +0200 |
---|---|---|
committer | Elias Fleckenstein <eliasfleckenstein@web.de> | 2021-06-13 20:41:17 +0200 |
commit | bfcda608695b83ce6a3caefceaa79c8e392405d7 (patch) | |
tree | dbd4dcaebbc8157d536553ad03d7afb64031a34b /plugins/cherry/cherry.c | |
parent | 67dc975a29da3abed0834f0fefbeb7c905c16316 (diff) | |
download | dungeon_game-bfcda608695b83ce6a3caefceaa79c8e392405d7.tar.xz |
Add on_create callback for items
Diffstat (limited to 'plugins/cherry/cherry.c')
-rw-r--r-- | plugins/cherry/cherry.c | 1 |
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) |