Fixed typo in map display.

This commit is contained in:
Ulysse Cura 2026-09-09 15:27:46 +02:00
parent 6ebe12a4b9
commit d562c7b339
1 changed files with 1 additions and 1 deletions

View File

@ -407,7 +407,7 @@ static inline int draw_tile(uint16_t tile_x, uint16_t tile_y, uint16_t tile_id)
rect_t src_frect = { rect_t src_frect = {
.x = tile_id * TILE_SIZE % get_width(game.map->tileset), .x = tile_id * TILE_SIZE % get_width(game.map->tileset),
.y = tile_id * TILE_SIZE / get_height(game.map->tileset) * TILE_SIZE, .y = tile_id * TILE_SIZE / get_width(game.map->tileset) * TILE_SIZE,
.w = TILE_SIZE, .w = TILE_SIZE,
.h = TILE_SIZE .h = TILE_SIZE
}; };