]> git.lizzy.rs Git - dungeon_game.git/blobdiff - plugins/apple/apple.c
Add mapgen contexts
[dungeon_game.git] / plugins / apple / apple.c
index 795800d48ae47c5edd88a0879c77f6b9fb0f7723..6adff086475be28f951f48de85b1efb8f6c785d7 100644 (file)
@@ -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);
 }