From 342a208e5e315c0492fcd70639aeea340b2f44e8 Mon Sep 17 00:00:00 2001 From: Joe Lukas Kalb Date: Tue, 6 Feb 2024 19:44:55 +0100 Subject: [PATCH] refactoring: labyrinth --- src/main/c/labyrinth.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/c/labyrinth.c b/src/main/c/labyrinth.c index 70b3f74..a83f54d 100644 --- a/src/main/c/labyrinth.c +++ b/src/main/c/labyrinth.c @@ -160,9 +160,9 @@ short calculate_lab_way(Field_State** field, unsigned short len_x, unsigned shor } void labyrinth(){ - unsigned short x, y; + unsigned short len_x, len_y; - ask_lab_dimensions(&x, &y); + ask_lab_dimensions(&len_x, &len_y); }