summaryrefslogtreecommitdiff
path: root/src/map.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map.c')
-rw-r--r--src/map.c6
1 files changed, 3 insertions, 3 deletions
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);