From ac4b9bd1ce461ecd2d54b8dbed633658b0431f8b Mon Sep 17 00:00:00 2001 From: Aldrik Ramaekers Date: Fri, 9 Dec 2022 21:04:34 +0100 Subject: fix collision --- include/map.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/map.h') diff --git a/include/map.h b/include/map.h index 80772b1..7c0716d 100644 --- a/include/map.h +++ b/include/map.h @@ -62,7 +62,7 @@ tile get_tile_under_coords(platform_window* window, float x, float y); float get_height_of_tile_under_coords(platform_window* window, float tocheckx, float tochecky); int get_tile_height(platform_window* window); int get_tile_width(platform_window* window); -bool is_in_bounds(platform_window* window, float x, float y); +bool is_in_bounds(float x, float y); void draw_grid(platform_window* window); map_info get_map_info(platform_window* window); -- cgit v1.2.3-70-g09d2