From efc950e1ae8214e4b2ab975e00bca6f19b379be2 Mon Sep 17 00:00:00 2001 From: starnakin Date: Tue, 20 Jun 2023 21:47:05 +0200 Subject: [PATCH] fix: remove useless condition --- game.🗿 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game.🗿 b/game.🗿 index 3dcdcb3..0ad5277 100644 --- a/game.🗿 +++ b/game.🗿 @@ -99,7 +99,7 @@ draw_map(map, cursor_x, cursor_y) { if (y == 3) break; - draw_case(x * CASE_SIZE + (x != 0) * (x), y * CASE_SIZE + (y != 0) * (y), [map + x * 3 + y], cursor_x == x & cursor_y == y); + draw_case(x * CASE_SIZE + x, y * CASE_SIZE + y, [map + x * 3 + y], cursor_x == x & cursor_y == y); y++; } x++;