]> git.lizzy.rs Git - dungeon_game.git/blobdiff - plugins/fireball/fireball.c
Add on_create callback for items
[dungeon_game.git] / plugins / fireball / fireball.c
index fcb1ac19a2a62e26f4f6d238aa80b4ce826f33a1..39e93fb586909d7c8429e6493ad3533b0f2d9713 100644 (file)
@@ -94,6 +94,7 @@ static struct item fireball_item = {
 
        .on_use = &shoot_fireball_item,
        .on_destroy = NULL,
+       .on_create = NULL,
 };
 
 static void shoot_if_has_fireball()