aboutsummaryrefslogtreecommitdiff
path: root/plugins/apple/apple.c
diff options
context:
space:
mode:
authorElias Fleckenstein <eliasfleckenstein@web.de>2021-06-14 20:58:57 +0200
committerElias Fleckenstein <eliasfleckenstein@web.de>2021-06-14 20:58:57 +0200
commit0f4153099c2a0d8fa4480dcd690820976df4a939 (patch)
tree46db76492cc640af2c48be8fcfe3e5d2ec96e7d6 /plugins/apple/apple.c
parent90114b876b9e023111dd17b455f82972fd6d5c1d (diff)
downloaddungeon_game-0f4153099c2a0d8fa4480dcd690820976df4a939.tar.xz
Add mapgen contexts
Diffstat (limited to 'plugins/apple/apple.c')
-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 795800d..6adff08 100644
--- a/plugins/apple/apple.c
+++ b/plugins/apple/apple.c
@@ -34,7 +34,7 @@ static struct entity apple_entity = {
.on_damage = NULL,
};
-static void spawn_apple(int x, int y)
+static void spawn_apple(int x, int y, enum mg_context ctx)
{
spawn(apple_entity, x, y, NULL);
}