]> git.lizzy.rs Git - dungeon_game.git/blobdiff - plugins/apple/apple.c
Add fireballs
[dungeon_game.git] / plugins / apple / apple.c
index d8e7375a7e9f81672825eecddfc0d676e86120a2..d100e45bd0381303f1e8442faba0566a6d1d5b53 100644 (file)
@@ -15,7 +15,7 @@ static void apple_step(struct entity *self, struct entity_step_data stepdata)
 
 static void spawn_apple(int x, int y)
 {
-       spawn(apple, x, y);
+       spawn(apple, x, y, NULL);
 }
 
 __attribute__((constructor)) static void init()