aboutsummaryrefslogtreecommitdiff
path: root/plugins/apple
diff options
context:
space:
mode:
authorElias Fleckenstein <eliasfleckenstein@web.de>2021-06-09 19:41:18 +0200
committerElias Fleckenstein <eliasfleckenstein@web.de>2021-06-09 19:41:18 +0200
commit043c0a4c0ef016e3b49816d582cdf7227f6d3450 (patch)
treefe171f949c5dc59d47ecf882369ee3ae4cd905f1 /plugins/apple
parent9a897a11d49b21f54e338cf82a6a79fd19f797a3 (diff)
downloaddungeon_game-043c0a4c0ef016e3b49816d582cdf7227f6d3450.tar.xz
Add fireballs
Diffstat (limited to 'plugins/apple')
-rw-r--r--plugins/apple/apple.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/apple/apple.c b/plugins/apple/apple.c
index d8e7375..d100e45 100644
--- a/plugins/apple/apple.c
+++ b/plugins/apple/apple.c
@@ -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()