summaryrefslogtreecommitdiff
path: root/src/players.c
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrik@amftech.nl>2022-12-19 16:42:15 +0100
committerAldrik Ramaekers <aldrik@amftech.nl>2022-12-19 16:42:15 +0100
commit79efc8a8e9976bbdd41d4a47b58c71d3be9d4ff7 (patch)
tree5a46a8406ec3404859e0f3926bc75e08423afaa8 /src/players.c
parent22936e7a270a9bd0f13acb651b15db2158a8d6e0 (diff)
zombie chunks
Diffstat (limited to 'src/players.c')
-rw-r--r--src/players.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/players.c b/src/players.c
index 9be2534..886c782 100644
--- a/src/players.c
+++ b/src/players.c
@@ -218,7 +218,7 @@ void draw_players(platform_window* window) {
OBJECT_RENDER_DEPTH((int)(players[i].playery+size));
- float height = get_height_of_tile_under_coords(window, players[i].playerx, players[i].playery);
+ float height = get_height_of_tile_under_coords(players[i].playerx, players[i].playery);
players[i].height = height;
box box = get_render_box_of_square(window, (vec3f){players[i].playerx, players[i].playery, height}, (vec3f){size,size,0.8f});