Skip to content

Commit

Permalink
fix changing tile in map editor changes tool for real (#2637)
Browse files Browse the repository at this point in the history
  • Loading branch information
Miguel-hrvs authored Jul 27, 2024
1 parent b33e516 commit 3d0780e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/studio/editors/map.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 3d0780e

Please sign in to comment.