From 0f4153099c2a0d8fa4480dcd690820976df4a939 Mon Sep 17 00:00:00 2001 From: Elias Fleckenstein Date: Mon, 14 Jun 2021 20:58:57 +0200 Subject: Add mapgen contexts --- plugins/apple/apple.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/apple/apple.c') 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); } -- cgit v1.2.3