From b48b5f0339714f4a14462ff7333ca1f100363c65 Mon Sep 17 00:00:00 2001 From: Sven Balzer <4653051+Kyuusokuna@users.noreply.github.com> Date: Sun, 23 Mar 2025 18:19:59 +0100 Subject: [PATCH] always show grid when tile picker is open --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 91868fa..e9e493b 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1930,7 +1930,7 @@ int main(int argc, char **argv) { SDL_DrawGPUIndexedPrimitives(render_pass, 6, map_height * map_width, 0, 0, 0); } - if (selected_tile != -1) { // Draw Grid + if (show_tile_picker) { // Draw Grid ZoneScopedN("Draw Grid"); SDL_GPUBufferBinding index_buffer_binding = { .buffer = grid_index_buffer, .offset = 0 }; SDL_GPUBufferBinding vertex_buffers[] = {