unsigned fix

efd/v1
Dominik Madarász 2023-02-01 15:49:13 +01:00
parent 6e0e747756
commit f35c9b8a1c
1 changed files with 1 additions and 1 deletions

View File

@ -201,7 +201,7 @@ void world_setup_pkt_handlers(world_pkt_reader_proc* reader_proc, world_pkt_writ
}
void world_rebuild_chunk_islands(librg_chunk chunk_id) {
uint16_t ch_x, ch_y;
int16_t ch_x, ch_y;
librg_chunk_to_chunkpos(world.tracker, chunk_id, &ch_x, &ch_y, NULL);
float wp_x = (float)ch_x * world_dim(), wp_y = (float)ch_y * world_dim();