From 79efc8a8e9976bbdd41d4a47b58c71d3be9d4ff7 Mon Sep 17 00:00:00 2001 From: Aldrik Ramaekers Date: Mon, 19 Dec 2022 16:42:15 +0100 Subject: zombie chunks --- src/map.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/map.c') diff --git a/src/map.c b/src/map.c index 1d805c5..a5bc96a 100644 --- a/src/map.c +++ b/src/map.c @@ -107,12 +107,12 @@ void load_map_from_data() { } } -tile get_tile_under_coords(platform_window* window, float x, float y) { +tile get_tile_under_coords(float x, float y) { return map_loaded[(int)(y)][(int)(x)]; } -float get_height_of_tile_under_coords(platform_window* window, float tocheckx, float tochecky) { - tile tile_under_coords = get_tile_under_coords(window, tocheckx, tochecky); +float get_height_of_tile_under_coords(float tocheckx, float tochecky) { + tile tile_under_coords = get_tile_under_coords(tocheckx, tochecky); int ty = (int)(tochecky); int tx = (int)(tocheckx); -- cgit v1.2.3-70-g09d2