From 6a6434416199aac60ab821bbaf228397b693617e Mon Sep 17 00:00:00 2001 From: Lukas Krickl Date: Mon, 17 Nov 2025 13:46:20 +0100 Subject: [PATCH] tiles: adjacent clear now uses the struct's size instead of a hard-coded value --- src/tiles.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tiles.s b/src/tiles.s index c1be26e..0a8891f 100644 --- a/src/tiles.s +++ b/src/tiles.s @@ -188,7 +188,7 @@ tile_get_adjacent: ; clear adjacent tiles ; stored by previous frame ld hl, tiles_adjacent - ld bc, 2 * TILES_ADJACENT_MAX + ld bc, ta_size * TILES_ADJACENT_MAX ld de, 0 call memset -- 2.30.2