From 3d0780ef6e2d37a7f18477f71e331e8c624ceab9 Mon Sep 17 00:00:00 2001 From: Miguel <81558772+Miguel-hrvs@users.noreply.github.com> Date: Sat, 27 Jul 2024 10:16:12 +0200 Subject: [PATCH] fix changing tile in map editor changes tool for real (#2637) --- src/studio/editors/map.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/studio/editors/map.c b/src/studio/editors/map.c index 72bf91ace..790578341 100644 --- a/src/studio/editors/map.c +++ b/src/studio/editors/map.c @@ -466,8 +466,6 @@ static void drawSheetReg(Map* map, s32 x, s32 y) s32 rb = MAX(my, map->sheet.start.y); map->sheet.rect = (tic_rect){rl, rt, rr-rl+1, rb-rt+1}; - - map->mode = MAP_DRAW_MODE; } else { @@ -1221,8 +1219,6 @@ static inline bool keyWasPressedOnce(Map* map, s32 key) return tic_api_keyp(tic, key, -1, -1); } -// tic_api_key(tic, - static void processKeyboard(Map* map) { tic_mem* tic = map->tic;